drm/i915/selftests: Mark up preemption tests for hang detection
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 21 Mar 2019 19:40:31 +0000 (19:40 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 22 Mar 2019 07:12:12 +0000 (07:12 +0000)
commite70d3d8040410a46893c0986a5b0fd64c466b7e9
treef763b639af86cec4848a4eba54ed03c9e8f0079a
parentd067994cc425209032b5713cb3e7fac6d1f38460
drm/i915/selftests: Mark up preemption tests for hang detection

Use the igt_live_test framework for detecting whether an unwanted hang
occurred during test execution, and report failure if it does.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190321194031.20240-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/intel_lrc.c