]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Make the hanging request non-preemptible
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 7 Jun 2020 22:20:42 +0000 (23:20 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 8 Jun 2020 22:20:48 +0000 (23:20 +0100)
commit0997b72481fe1ba26f1ee0e4ca66da7a8837192c
treeec0d1a7890a6038c24bf325fd1f542167376232d
parent0a84f50f453839624c3794ff749c037041f89430
drm/i915/selftests: Make the hanging request non-preemptible

In some of our hangtests, we try to reset an active engine while it is
spinning inside the recursive spinner. However, we also try to flood the
engine with requests that preempt the hang, and so should disable the
preemption to be sure that we reset the right request.

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/20200607222108.14401-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_hangcheck.c