commit | 401c29f607702864fd00b6154325f7570ebaba4f | [log] [tgz] |
---|---|---|
author | Ben Widawsky <ben@bwidawsk.net> | Fri May 31 11:28:47 2013 -0700 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Mon Jun 03 10:50:22 2013 +0200 |
tree | e35d2fc993254de3c64631df9c89bcee0f372da8 | |
parent | 1d64ae719b436f2a5f8f5da801b4c560bf24aaa9 [diff] |
drm/i915: unpin pages at unbind If we properly keep track of the pages_pin_count, then when we later add multiple address spaces, the put_pages doesn't need any special checks to be able to perform it's job. CC: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> [danvet: Rebased on top of the fix for stolen memory pinning.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>