drm/i915/selftests: Dump engine state and trace upon hanging after reset
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 15 Jun 2020 16:50:12 +0000 (17:50 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 15 Jun 2020 17:31:44 +0000 (18:31 +0100)
commitf2e85e57367e8ac3a6106e3919f450354a2cf725
treecc6a174babaafaa10047e2ae01378b7b693836ea
parent7102a76043eb520d3e2856697b9407b01d246d8b
drm/i915/selftests: Dump engine state and trace upon hanging after reset

If the engine dies after a reset, and so we fail to submit a request
but need to be interrupted by the CI runner, dump the engine state.

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/20200615165013.22973-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_hangcheck.c