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)
commit94ed47531d7cd9c60109f52bba582aa85b7c4415
treeec0d1a7890a6038c24bf325fd1f542167376232d
parent8733a06323d40ecfb8208ee5f85bf9d39ce6fd34
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