diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-09-04 16:02:56 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-09-20 08:22:57 -0400 |
commit | f60d7f0c1d55a935475ab394955cafddefaa6533 (patch) | |
tree | 016122c1b20e51d32ddc2916c84a7a4a719e58bc /drivers/char | |
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>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions