]> www.infradead.org Git - users/dwmw2/linux.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)
commita740f5c5f6bc781340c1fd346123b6b7d8be54de
tree04d790043ea2d07971387632f5780c0c230e54af
parent4ba74e53ada3c7cca9808d0c1332d34133f06575
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