From: Chris Wilson Date: Tue, 15 Jan 2013 12:39:35 +0000 (+0000) Subject: drm/i915: Add a debug interface to forcibly evict and shrink our object caches X-Git-Tag: v3.9-rc1~83^2~36^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd624afd533bdc87b8c10835515a0c8b2b9868b1;p=pandora-kernel.git drm/i915: Add a debug interface to forcibly evict and shrink our object caches As a means to investigate some bad system behaviour related to the purging of the active, inactive and unbound lists, it is useful to be able to manually control when those lists should be cleared. v2: use _safe list iterators as we kick objects from the list as we walk. Signed-off-by: Chris Wilson [danvet: Add a small comment explaining why we don't need to check and wait for gpu resets, acked by Chris on irc.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed