]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit098c2cd3b08383be420eec39c9bff967f9d93dc3
tree7a85b6ed2255785894f6cece04d7c59a41716324
parent041d73f21e60a5f70b7ec58412c72f0e89a4c2ed
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