commit | d78b47b9a527bf46cb6081555847facd6efd5f81 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Wed Jun 17 21:52:49 2009 +0100 |
committer | Eric Anholt <eric@anholt.net> | Wed Jun 17 15:26:24 2009 -0700 |
tree | dee4127eda7743ee2370057394418e6a2d742a2d | |
parent | 76cff81ad1cfa3bd8b52b5e4510702ce2ed28335 [diff] |
drm/i915: detach/attach get/put pages symmetry After performing an operation over the page list for a buffer retrieved by i915_gem_object_get_pages() the pages need to be returned with i915_gem_object_put_pages(). This was not being observed for the phys objects which were thus leaking references to their backing pages. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> CC: Dave Airlie <airlied@gmail.com> Signed-off-by: Eric Anholt <eric@anholt.net>