drm/i915/selftests: Disable heartbeat around context barrier tests
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 15 Nov 2019 15:08:40 +0000 (15:08 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 15 Nov 2019 17:31:24 +0000 (17:31 +0000)
commitc212fbde20aca7a8180fe0d5770bc9cfa789e27d
tree7a85b6ed2255785894f6cece04d7c59a41716324
parent2d19a71ce68f34e4f3570ca98d42912fbbd31f6c
drm/i915/selftests: Disable heartbeat around context barrier tests

As the heartbeat has the effect of flushing context barriers, this
interferes with the context barrier tests that are trying to observe
them directly. Disable the heartbeat so that the barriers are as
predictable as the test demands.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191115150841.880349-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_context.c