]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Disable heartbeat around RPS interrupt testing
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 22 Apr 2020 08:38:55 +0000 (09:38 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 22 Apr 2020 09:59:46 +0000 (10:59 +0100)
commitf7cd52b0516d1ca74cee0fe9748397cccf983bc7
tree6800e6e02ecae03b55b4460d8a5df6feab1b6aab
parent2ac6f502354ab302e133e764c415b53075aaa562
drm/i915/selftests: Disable heartbeat around RPS interrupt testing

For verifying reciving the EI interrupts, we need to hold the GPU in
very precise conditions (in terms of C0 cycles during the EI). If we
preempt the busy load to handle the heartbeat, this may perturb the busy
load causing us to miss the interrupt.

The other tests, while not as time sensitive, may also be slightly
perturbed, so apply the heartbeat protection across all the
measurements.

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/20200422083855.26842-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_rps.c