]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Don't declare hangs if engine is stalled
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 May 2020 07:41:00 +0000 (08:41 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 May 2020 16:53:52 +0000 (17:53 +0100)
commitfc59ddb82673575188479196972b2e34033e6e92
treef7a3a9c3581f30da62143ba811e3f26e86cb0b89
parent795d7dee60eeed9230b71841eb6be09d2ba93aff
drm/i915/gt: Don't declare hangs if engine is stalled

If the ring submission is stalled on an external request, nothing can be
submitted, not even the heartbeat in the kernel context. Since nothing
is running, resetting the engine/device does not unblock the system and
is pointless. We can see if the heartbeat is supposed to be running
before declaring foul.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200528074109.28235-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c