commit | f60d7f0c1d55a935475ab394955cafddefaa6533 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Tue Sep 04 21:02:56 2012 +0100 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Sep 20 14:22:57 2012 +0200 |
tree | 016122c1b20e51d32ddc2916c84a7a4a719e58bc | |
parent | 755d22184f1e5015b040acee794542d9cf8a16c5 [diff] |
drm/i915: Pin backing pages for pread By using the recently introduced pinning of pages, we can safely drop the mutex in the knowledge that the pages are not going to disappear beneath us, and so we can simplify the code for iterating over the pages. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>