public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH 0/2] drm/i915/pmu: Use common freq functions with sysfs
@ 2023-03-10  0:59 Ashutosh Dixit
  2023-03-10  0:59 ` [Intel-gfx] [PATCH 1/2] drm/i915/pmu: Use functions common with sysfs to read actual freq Ashutosh Dixit
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Ashutosh Dixit @ 2023-03-10  0:59 UTC (permalink / raw)
  To: intel-gfx; +Cc: Rodrigo Vivi, dri-devel

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(-)

-- 
2.38.0


^ permalink raw reply	[flat|nested] 12+ messages in thread
* [Intel-gfx] [PATCH 0/2] drm/i915/pmu: Use common freq functions with sysfs
@ 2023-03-09  3:46 Ashutosh Dixit
  2023-03-09  3:46 ` [Intel-gfx] [PATCH 1/2] drm/i915/pmu: Use functions common with sysfs to read actual freq Ashutosh Dixit
  0 siblings, 1 reply; 12+ messages in thread
From: Ashutosh Dixit @ 2023-03-09  3:46 UTC (permalink / raw)
  To: intel-gfx; +Cc: Rodrigo Vivi, dri-devel

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 | 46 +++++++++++++++++++----------
 drivers/gpu/drm/i915/gt/intel_rps.h |  2 +-
 drivers/gpu/drm/i915/i915_pmu.c     | 17 +++++++----
 3 files changed, 43 insertions(+), 22 deletions(-)

-- 
2.38.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-03-16  0:53 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-10  0:59 [Intel-gfx] [PATCH 0/2] drm/i915/pmu: Use common freq functions with sysfs Ashutosh Dixit
2023-03-10  0:59 ` [Intel-gfx] [PATCH 1/2] drm/i915/pmu: Use functions common with sysfs to read actual freq Ashutosh Dixit
2023-03-15  9:43   ` Tvrtko Ursulin
2023-03-16  0:53     ` Dixit, Ashutosh
2023-03-10  0:59 ` [Intel-gfx] [PATCH 2/2] drm/i915/pmu: Remove fallback to requested freq for SLPC Ashutosh Dixit
2023-03-15  9:50   ` Tvrtko Ursulin
2023-03-15 23:54     ` Dixit, Ashutosh
2023-03-10  2:57 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/pmu: Use common freq functions with sysfs Patchwork
2023-03-12  9:27 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2023-03-09  3:46 [Intel-gfx] [PATCH 0/2] " Ashutosh Dixit
2023-03-09  3:46 ` [Intel-gfx] [PATCH 1/2] drm/i915/pmu: Use functions common with sysfs to read actual freq Ashutosh Dixit
2023-03-09  9:20   ` Tvrtko Ursulin
2023-03-10  1:03     ` Dixit, Ashutosh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox