]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Skip energy consumption tests if not controlling freq
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 20 Apr 2020 17:27:35 +0000 (18:27 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 20 Apr 2020 19:08:06 +0000 (20:08 +0100)
commiteea5cd55f33147d3595f4a0ad7eae699caab3ad0
tree04d790043ea2d07971387632f5780c0c230e54af
parent96f43d52d7dfbc55ab8b8fa7c5d0c4d80957dd6a
drm/i915/selftests: Skip energy consumption tests if not controlling freq

If we can not manipulate the frequency with RPS, then comparing min/max
power consumption is pointless / misleading. We will leave the warning
about not being able to control the frequency selection via RPS to other
tests so as not to confuse this more specialised check.

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