]> git.karo-electronics.de Git - linux-beck.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)
commit1b50247a8ddde4af5aaa0e6bc125615372ce6c16
tree98f5a6a590242476b863e1a3caffa6ea8fcdba58
parenta39d7efc6200d05b9ca3cfeec5dd82f6dd03f4e8
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