]> 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)
commit9fb1e60ce51ccc6392fdc2d6d2e0e5613228e8f9
treeec0d1a7890a6038c24bf325fd1f542167376232d
parent12be56fcea5b9b07617ee95f443325411d3259b1
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