diff options
author | Chris Wilson <[email protected]> | 2017-09-15 14:09:29 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2017-09-26 14:19:25 +0100 |
commit | 87dc03ad268f285065cdd2e2ac75701a1f04d0b8 (patch) | |
tree | 92a00663fa6963404fd51d1d6f8da500109ba452 /lib/mpi/mpi-cmp.c | |
parent | 9a2cbf2d7b94660e4c4920cfae4a5eecc83ee485 (diff) |
drm/i915/selftests: Try to recover from a wedged GPU during reset tests
If we see the seqno stop progressing, we abandon the test for fear that
the GPU died following the reset. However, during test teardown we still
wait for the GPU to idle before continuing, but we have already
confirmed that the GPU is dead. Furthermore, since we are inside a reset
test, we have disabled the hangchecker, and so there is no safety net and
we wait indefinitely. Detect the stuck GPU and declare it wedged as a
state of emergency so we can escape.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Jari Tahvanainen <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Tested-by: Jari Tahvanainen <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions