]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Double check ring is idle before declaring the GPU wedged
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 Aug 2014 08:21:35 +0000 (09:21 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 11 Aug 2014 11:33:49 +0000 (13:33 +0200)
commitd5928d8f8579a5ace9797d2e677ccc5784c10896
treeaa0e192a0a7680365a736edddc211e8268b06873
parent878fba393e5713c73dfe9dbad041170251d41c72
drm/i915: Double check ring is idle before declaring the GPU wedged

During ring initialisation, sometimes we observe, though not in
production hardware, that the idle flag is not set even though the ring
is empty. Double check before giving up.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c