From: Chris Wilson Date: Wed, 17 Jun 2009 20:52:49 +0000 (+0100) Subject: drm/i915: detach/attach get/put pages symmetry X-Git-Tag: v2.6.31-rc1~101^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d78b47b9a527bf46cb6081555847facd6efd5f81;p=pandora-kernel.git 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 CC: Dave Airlie Signed-off-by: Eric Anholt --- Reading git-diff-tree failed