diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-28 21:28:46 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-28 21:31:19 +0100 |
commit | 395b70be54bed5fdf6c4173c78e8a49f960f241d (patch) | |
tree | b9ba0a69fdacb2808d093a436a53ceab51619c5a /drivers/gpu/drm/i915/intel_opregion.c | |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_opregion.c')
0 files changed, 0 insertions, 0 deletions