]> 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)
commit0c1331fcd63e5e69e7ded9c107f87ed77276b7f1
tree7fe42c1c89eacc9b352f09d9c77a61f3e3a20cf7
parent4610ca3323d40ae144f2e6fb25278b2c731b4cc7
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