Skip to content
Commit e5281ccd authored by Chris Wilson's avatar Chris Wilson
Browse files

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: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 39a01d1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment