drm/i915/selftests: Skip over live context testing when wedged
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Jul 2018 06:53:14 +0000 (07:53 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Jul 2018 10:25:28 +0000 (11:25 +0100)
commit31c9bd78018cc36e62525fe3edc0009c1da6347f
tree8692c6195e352c974789aadd59ed78f12fbe46ca
parent921d07d73ebf6d87064883d69fedd3d7e9e99538
drm/i915/selftests: Skip over live context testing when wedged

If the GPU is terminally wedged we cannot submit any requests into a
context, completely unfulfilling our purpose of doing so. As this
expectedly fails, skip over the test.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180706065332.15214-9-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_gem_context.c