Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe/xe_debugfs: Exposure of G7 state residency counters through debugfs
@ 2025-10-10 11:43 Mohammed Thasleem
  2025-10-10 14:11 ` ✓ i915.CI.BAT: success for " Patchwork
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Mohammed Thasleem @ 2025-10-10 11:43 UTC (permalink / raw)
  To: intel-gfx; +Cc: anshuman.gupta, Mohammed Thasleem

Add G7 residency counter support to expose G7 package residency counter in
debugfs alongside existing G2/G6/G8/G10 states for complete power state
visibility.

Signed-off-by: Mohammed Thasleem <mohammed.thasleem@intel.com>
---
 drivers/gpu/drm/xe/regs/xe_pmt.h | 1 +
 drivers/gpu/drm/xe/xe_debugfs.c  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/xe/regs/xe_pmt.h b/drivers/gpu/drm/xe/regs/xe_pmt.h
index 264e9baf949c..0f79c0714454 100644
--- a/drivers/gpu/drm/xe/regs/xe_pmt.h
+++ b/drivers/gpu/drm/xe/regs/xe_pmt.h
@@ -24,6 +24,7 @@
 #define BMG_MODS_RESIDENCY_OFFSET		(0x4D0)
 #define BMG_G2_RESIDENCY_OFFSET		(0x530)
 #define BMG_G6_RESIDENCY_OFFSET		(0x538)
+#define BMG_G7_RESIDENCY_OFFSET		(0x4B0)
 #define BMG_G8_RESIDENCY_OFFSET		(0x540)
 #define BMG_G10_RESIDENCY_OFFSET		(0x548)
 
diff --git a/drivers/gpu/drm/xe/xe_debugfs.c b/drivers/gpu/drm/xe/xe_debugfs.c
index 34f622bef3e0..b3ca48bc90b7 100644
--- a/drivers/gpu/drm/xe/xe_debugfs.c
+++ b/drivers/gpu/drm/xe/xe_debugfs.c
@@ -142,6 +142,7 @@ static int dgfx_pkg_residencies_show(struct seq_file *m, void *data)
 	} residencies[] = {
 		{BMG_G2_RESIDENCY_OFFSET, "Package G2"},
 		{BMG_G6_RESIDENCY_OFFSET, "Package G6"},
+		{BMG_G7_RESIDENCY_OFFSET, "Package G7"},
 		{BMG_G8_RESIDENCY_OFFSET, "Package G8"},
 		{BMG_G10_RESIDENCY_OFFSET, "Package G10"},
 		{BMG_MODS_RESIDENCY_OFFSET, "Package ModS"}
-- 
2.34.1


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

end of thread, other threads:[~2025-10-16  1:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-10 11:43 [PATCH] drm/xe/xe_debugfs: Exposure of G7 state residency counters through debugfs Mohammed Thasleem
2025-10-10 14:11 ` ✓ i915.CI.BAT: success for " Patchwork
2025-10-10 16:18 ` ✓ i915.CI.Full: " Patchwork
2025-10-14 10:15 ` [PATCH] " Poosa, Karthik
2025-10-15 18:37 ` ✓ i915.CI.BAT: success for drm/xe/xe_debugfs: Exposure of G7 state residency counters through debugfs (rev2) Patchwork
2025-10-15 19:52 ` [PATCH] drm/xe/xe_debugfs: Expose G7 state residency counter through debugfs Mohammed Thasleem
2025-10-15 17:27   ` Poosa, Karthik
2025-10-15 17:39     ` Poosa, Karthik
2025-10-16  1:23 ` ✗ i915.CI.Full: failure for drm/xe/xe_debugfs: Exposure of G7 state residency counters through debugfs (rev2) Patchwork

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