]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Suppress busy status for engines if wedged
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 30 Mar 2017 14:50:37 +0000 (15:50 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 30 Mar 2017 16:58:44 +0000 (17:58 +0100)
commit41c3ee0530874bbda29ff859d9f20c4ad8475454
treee8d3b217ff74181d3b856c30d8caf641f5be65fe
parent8b7b6264ffb2adca5d7737bab9ed80bc8246c387
drm/i915: Suppress busy status for engines if wedged

If the driver is wedged, HW state may be very inconsistent and
report that it is still busy, even though we have stopped using it. This
can lead to a double *ERROR* rather than a graceful cleanup after
wedging.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170330145041.9005-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_engine_cs.c