]> 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)
commitbba37abc282a456dc326f8933a5ca54f528d0119
tree6800e6e02ecae03b55b4460d8a5df6feab1b6aab
parentf9ac77279a887176fb6e5b2ae58098c09eaee1c2
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