]> 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)
commitcbb6f8805a4cfcf6bd97dfd0de399f9f3f8f7cdc
tree6800e6e02ecae03b55b4460d8a5df6feab1b6aab
parent33883310cd8ed365a4279600b329c50992e8f528
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