Add dedicated functions to measuring power in SLPC and for rps use read_cagf to use the raw frequency to measure power, ensuring more accurate and reliable power measurements. Sk Anirban (2): drm/i915/selftests: Correct frequency handling in RPS power measurement drm/i915/guc/slpc: Add helper function slpc_measure_power drivers/gpu/drm/i915/gt/selftest_rps.c | 2 +- drivers/gpu/drm/i915/gt/selftest_slpc.c | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) -- 2.34.1