drm/i915/selftests: Fixup atomic reset checking
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 26 Jun 2019 13:44:33 +0000 (14:44 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 26 Jun 2019 15:03:13 +0000 (16:03 +0100)
commitfaaa2902b5a965610e7b9c5e702dd5f6b8970c60
tree7fe42c1c89eacc9b352f09d9c77a61f3e3a20cf7
parent1e5deb2632654c16cd4d2b69cbc24626d9463361
drm/i915/selftests: Fixup atomic reset checking

We require that the intel_gpu_reset() was atomic, not the whole of
i915_reset() which is guarded by a mutex. However, we do require that
i915_reset_engine() is atomic for use from within the submission tasklet.

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/20190626134433.6318-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_reset.c