]> 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)
commit56e338c2485e3b26e9ce8d1b4ec07f3618109e86
treeaa0e192a0a7680365a736edddc211e8268b06873
parent6e117d90edc8e2c3b43f972991fa57b6ef43e35f
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