commit | 395b70be54bed5fdf6c4173c78e8a49f960f241d | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu Oct 28 21:28:46 2010 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Thu Oct 28 21:31:19 2010 +0100 |
tree | b9ba0a69fdacb2808d093a436a53ceab51619c5a | |
parent | 8f28f54aad8bcf52a47afb6447fac34f96597b6f [diff] |
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 <chris@chris-wilson.co.uk>