drm/i915/selftests: Force a failed engine reset
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 13 Jan 2021 20:50:49 +0000 (20:50 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 13 Jan 2021 22:14:40 +0000 (22:14 +0000)
commit106a9368dc679d7de41a4d63760405bd2a58fd29
tree66c9862b02fda3f2df59bf5dc487eae2518a63a0
parent007c457876507637b4af39458a8a745fea7f2907
drm/i915/selftests: Force a failed engine reset

Inject a fault into the engine reset and check that the outstanding
requests are completed despite the failed reset.

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