From: Chris Wilson Date: Thu, 28 Oct 2010 20:28:46 +0000 (+0100) Subject: drm/i915: Flush read-only buffers from the active list upon idle as well X-Git-Tag: v2.6.37-rc2~33^2~23^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=395b70be54bed5fdf6c4173c78e8a49f960f241d;p=pandora-kernel.git drm/i915: Flush read-only buffers from the active list upon idle as well It is possible for the active list to only contain a read-only buffer so that the ring->gpu_write_list remains entry. This leads to an inconsistency between i915_gpu_is_active() and i915_gpu_idle() causing an infinite spin during the shrinker and an assertion failure that i915_gpu_idle() does indeed flush all buffers from the active lists. Signed-off-by: Chris Wilson --- Reading git-diff-tree failed