]> 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)
commit65478e6cc14a6e4da035844c324ad96fcdc0507e
tree98f5a6a590242476b863e1a3caffa6ea8fcdba58
parent30f5d74389de4675b8f451fd540b75ce710f32b5
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