]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove the list of pinned inactive objects
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 24 Apr 2012 14:47:30 +0000 (15:47 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 May 2012 09:18:11 +0000 (11:18 +0200)
commit467f3d78b42cde1e2463f0ea5eb006191409e814
tree98f5a6a590242476b863e1a3caffa6ea8fcdba58
parent95b1cb196abeef5b7dc8993c3b1c6bc3cb5f3b04
drm/i915: Remove the list of pinned inactive objects

Simplify object tracking by removing the inactive but pinned list. The
only place where this was used is for counting the available memory,
which is just as easy performed by checking all objects on the rare
occasions it is required (application startup). For ease of debugging,
we keep the reporting of pinned objects through the error-state and
debugfs.

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