]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove i915_gem_evict_inactive()
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 24 Apr 2012 17:22:52 +0000 (18:22 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 May 2012 09:18:10 +0000 (11:18 +0200)
commit95b1cb196abeef5b7dc8993c3b1c6bc3cb5f3b04
tree2876da1a00718a73a7817154583a85ccae667414
parentce19fe9160f21377cbfc850bfc0c9eec9e2dcf01
drm/i915: Remove i915_gem_evict_inactive()

This was only used by one external caller who would just be as happy
with evict-everything, so perform the replacement and make the function
private.

In the process we note that unbinding the inactive list should not fail,
and make it a warning instead.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_evict.c