]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use bound list for inactive shrink
authorBen Widawsky <ben@bwidawsk.net>
Wed, 31 Jul 2013 23:59:57 +0000 (16:59 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 5 Aug 2013 17:04:09 +0000 (19:04 +0200)
commit265d3705633894b6f46eb1c7c2eb53756529c079
tree083855e13320547eb0cd72dbef228b74a397fcb4
parentcf82f609f2f71ba6ef13dd4eb0d4c469a2b44385
drm/i915: Use bound list for inactive shrink

Do to the move active/inactive lists, it no longer makes sense to use
them for shrinking, since shrinking isn't VM specific (such a need may
also exist, but doesn't yet).

What we can do instead is use the global bound list to find all objects
which aren't active.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c