Skip to content

drm/i915/pmu: Use common freq functions with sysfs

Ashutosh Dixit dri-devel intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/i915/rps: Expose read_actual_frequency_fw for PMUdrivers/gpu/drm/i915/gt/intel_rps.c drivers/gpu/drm/i915/gt/intel_rps.h+32 -50 replies
2/3drm/i915/rps: Expose get_requested_frequency_fw for PMUdrivers/gpu/drm/i915/gt/intel_rps.c drivers/gpu/drm/i915/gt/intel_rps.h+20 -40 replies
3/3drm/i915/pmu: Use common freq functions with sysfsdrivers/gpu/drm/i915/gt/intel_rps.c drivers/gpu/drm/i915/gt/intel_rps.h drivers/gpu/drm/i915/i915_pmu.c+4 -172 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] drm/i915/pmu: Use common freq functions with sysfs

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(-)
Signature · 1 line
2.38.0