]> 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)
commit3e41a73ec1872483ec1b0e618bbf574561505b05
treee8d3b217ff74181d3b856c30d8caf641f5be65fe
parent907f13324ef4071e19795f214a24f2aba825cf6e
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