[Intel-gfx] [PATCH 0/3] drm/i915/pmu: Use common freq functions with sysfs

Ashutosh Dixit ashutosh.dixit at intel.com
Wed Mar 8 05:33:18 UTC 2023


Using common freq functions with sysfs in PMU (but without taking
forcewake) solves the following issues (a) missing support for MTL (b)
missing support for older generations (prior to Gen6) (c) missing support
for slpc when freq sampling has to fall back to requested freq. It also
makes the PMU code future proof where sometimes code has been updated for
sysfs and PMU has been missed.

Ashutosh Dixit (3):
  drm/i915/rps: Expose read_actual_frequency_fw for PMU
  drm/i915/rps: Expose get_requested_frequency_fw for PMU
  drm/i915/pmu: Use common freq functions with sysfs

 drivers/gpu/drm/i915/gt/intel_rps.c | 68 +++++++++++++++++++++--------
 drivers/gpu/drm/i915/gt/intel_rps.h |  4 +-
 drivers/gpu/drm/i915/i915_pmu.c     | 10 ++---
 3 files changed, 56 insertions(+), 26 deletions(-)

-- 
2.38.0



More information about the Intel-gfx mailing list