]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Verify frequency scaling with RPS
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 20 Apr 2020 17:27:34 +0000 (18:27 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 20 Apr 2020 19:08:06 +0000 (20:08 +0100)
commit96f43d52d7dfbc55ab8b8fa7c5d0c4d80957dd6a
treef2ad9e5c18760ca93091f6353d152e6ab49ea4be
parenta5d55f7262e26707f44a68b283e3a68efed8826a
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
drivers/gpu/drm/i915/gt/selftest_gt_pm.c
drivers/gpu/drm/i915/gt/selftest_rps.c
drivers/gpu/drm/i915/gt/selftest_rps.h