]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit74bf91342bff26d38b19820b2e950ac68ec1fa95
tree7fe42c1c89eacc9b352f09d9c77a61f3e3a20cf7
parent15e01ef2695065d4146c36e94709c70e9d8d87eb
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