diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-04-20 18:27:34 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-04-20 20:08:06 +0100 |
commit | 4ba74e53ada3c7cca9808d0c1332d34133f06575 (patch) | |
tree | f2ad9e5c18760ca93091f6353d152e6ab49ea4be /drivers/gpu/drm/i915/gt/selftest_gt_pm.c | |
parent | f0617ff0b89416d5e15e14c22489ae3013d343fa (diff) |
drm/i915/selftests: Verify frequency scaling with RPS
One of the core tenents of reclocking the GPU is that its throughput
scales with the clock frequency. We can observe this by incrementing a
loop counter on the GPU, and compare the different execution rates at
the notional RPS frequencies.
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-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/gt/selftest_gt_pm.c')
-rw-r--r-- | drivers/gpu/drm/i915/gt/selftest_gt_pm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/gt/selftest_gt_pm.c b/drivers/gpu/drm/i915/gt/selftest_gt_pm.c index 0141c334f2ac..4b2733967c42 100644 --- a/drivers/gpu/drm/i915/gt/selftest_gt_pm.c +++ b/drivers/gpu/drm/i915/gt/selftest_gt_pm.c @@ -53,8 +53,9 @@ int intel_gt_pm_live_selftests(struct drm_i915_private *i915) { static const struct i915_subtest tests[] = { SUBTEST(live_rc6_manual), - SUBTEST(live_rps_interrupt), + SUBTEST(live_rps_frequency), SUBTEST(live_rps_power), + SUBTEST(live_rps_interrupt), SUBTEST(live_gt_resume), }; |