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 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/i915/pmu: Use functions common with sysfs to read actual freqdrivers/gpu/drm/i915/gt/intel_rps.c drivers/gpu/drm/i915/gt/intel_rps.h drivers/gpu/drm/i915/i915_pmu.c+24 -222 replies
2/2drm/i915/pmu: Remove fallback to requested freq for SLPCdrivers/gpu/drm/i915/i915_pmu.c+8 -12 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchTvrtko Ursulin
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

Expose intel_rps_read_actual_frequency_fw to read the actual freq without taking forcewake for use by PMU. The code is refactored to use a common set of functions across sysfs and PMU. Using common functions with sysfs in PMU solves the issues of missing support for MTL and missing support for older generations (prior to Gen6). It also future proofs the PMU where sometimes code has been updated for sysfs and PMU has been missed.

Ashutosh Dixit (2):
drm/i915/pmu: Use functions common with sysfs to read actual freq drm/i915/pmu: Remove fallback to requested freq for SLPC

 drivers/gpu/drm/i915/gt/intel_rps.c | 34 ++++++++++++++++-------------
 drivers/gpu/drm/i915/gt/intel_rps.h |  2 +-
 drivers/gpu/drm/i915/i915_pmu.c     | 17 ++++++++++-----
 3 files changed, 31 insertions(+), 22 deletions(-)
Signature · 1 line
2.38.0