commit | e5281ccd2e0049e2b9e8ce82449630d25082372d | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu Oct 28 13:45:36 2010 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Thu Oct 28 20:55:02 2010 +0100 |
tree | 56ff79f83ce4d0e957d68643a37af4cbc08eba11 | |
parent | 39a01d1fb63cf8ebc1a8cf436f5c0ba9657b55c6 [diff] |
drm/i915: Eliminate nested get/put pages By using read_cache_page() for individual pages during pwrite/pread we can eliminate an unnecessary large allocation (and immediate free) of obj->pages. Also this eliminates any potential nesting of get/put pages, simplifying the code and preparing the path for greater things. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>