drm/i915/selftests: Disable heartbeat around hang tests
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 31 Jan 2020 13:03:19 +0000 (13:03 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 31 Jan 2020 15:10:02 +0000 (15:10 +0000)
commitb0e02a73c5061515fd68b4c2432adb38c3074f47
treee3a97df315625994e4c92d03c25d55642135c8ed
parentbd46aa22a86a1d500c429c2f2e28d5b2d4db0777
drm/i915/selftests: Disable heartbeat around hang tests

If the heartbeat fires in the middle of the preempt-hang test, it
consumes our forced hang disrupting the test.

Reported-by: Daniel Vetter <daniel.vetter@ffwll.ch>
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/20200131130319.2998318-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_lrc.c