drm/i915/selftests: Stress resets-vs-request-priority
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 22 Mar 2018 07:35:31 +0000 (07:35 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 22 Mar 2018 20:34:43 +0000 (20:34 +0000)
commita90507d60763ee1067cf217614a8bb2ab43aca1a
treec0a9df43321b65be84a2c4586ba5f07a4f3f0dde
parent0ade43909d599bdde0d60e0c79e6d73479d65ffa
drm/i915/selftests: Stress resets-vs-request-priority

Watch what happens if we try to reset with a queue of requests with
varying priorities -- that may need reordering or preemption across the
reset.

v2: Tweak priorities to avoid starving the hanging thread.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180322073533.5313-2-chris@chris-wilson.co.uk
Reviewed-by: Jeff McGee <jeff.mcgee@intel.com>
drivers/gpu/drm/i915/selftests/intel_hangcheck.c