]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/i915/selftests: Correct frequency handling in RPS power measurement
authorSk Anirban <sk.anirban@intel.com>
Mon, 13 Jan 2025 09:59:11 +0000 (15:29 +0530)
committerAndi Shyti <andi.shyti@linux.intel.com>
Tue, 28 Jan 2025 20:11:15 +0000 (21:11 +0100)
commitd7364b86e4e59f7579061fed41e85a7cba14cfe6
tree19cc9e729c4a40548abedc5937acb211e72aa4aa
parent1aeb1c0eda6060a57e078fbda263eb812dffaab1
drm/i915/selftests: Correct frequency handling in RPS power measurement

Fix the frequency calculation by ensuring it uses the raw frequency only.
Update live_rps_power test to use the correct frequency values for logging
and comparison.

Signed-off-by: Sk Anirban <sk.anirban@intel.com>
Reviewed-by: Badal Nilawar <badal.nilawar@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250113095912.356147-2-sk.anirban@intel.com
drivers/gpu/drm/i915/gt/selftest_rps.c