]> git.karo-electronics.de Git - linux-beck.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)
commita39d7efc6200d05b9ca3cfeec5dd82f6dd03f4e8
tree2876da1a00718a73a7817154583a85ccae667414
parent8325a09dd0b138484ccff66b2987f49fa3813ec8
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