From: Soham Purkait <soham.purkait@intel.com>
To: intel-xe@lists.freedesktop.org, anshuman.gupta@intel.com,
badal.nilawar@intel.com, karthik.poosa@intel.com,
riana.tauro@intel.com, jani.nikula@intel.com
Cc: lucas.demarchi@intel.com, soham.purkait@intel.com,
ashutosh.dixit@intel.com
Subject: [PATCH v2 3/3] drm/xe/regs/xe_pmt: Macros for G-State residency offset
Date: Thu, 29 May 2025 23:27:52 +0530 [thread overview]
Message-ID: <20250529175752.1222913-4-soham.purkait@intel.com> (raw)
In-Reply-To: <20250529175752.1222913-1-soham.purkait@intel.com>
Add G-State residency offset macros for G2, G6, G8, G10
and ModS.
Signed-off-by: Soham Purkait <soham.purkait@intel.com>
---
drivers/gpu/drm/xe/regs/xe_pmt.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/gpu/drm/xe/regs/xe_pmt.h b/drivers/gpu/drm/xe/regs/xe_pmt.h
index b1d4504e4adc..23995835a583 100644
--- a/drivers/gpu/drm/xe/regs/xe_pmt.h
+++ b/drivers/gpu/drm/xe/regs/xe_pmt.h
@@ -21,4 +21,10 @@
#define SG_REMAP_INDEX1 XE_REG(SOC_BASE + 0x08)
#define SG_REMAP_BITS REG_GENMASK(31, 24)
+#define BMG_G2_RESIDENCY_OFFSET (0x530)
+#define BMG_G6_RESIDENCY_OFFSET (0x538)
+#define BMG_G8_RESIDENCY_OFFSET (0x540)
+#define BMG_G10_RESIDENCY_OFFSET (0x548)
+#define BMG_MODS_RESIDENCY_OFFSET (0x4D0)
+
#endif
--
2.34.1
next prev parent reply other threads:[~2025-05-29 18:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-29 17:57 [PATCH v2 0/3] Add debugfs to expose G2, G6, G8, G10 and ModS residency Soham Purkait
2025-05-29 17:57 ` [PATCH v2 1/3] Utility function and macro for telemetry reading Soham Purkait
2025-05-30 16:10 ` Poosa, Karthik
2025-05-29 17:57 ` [PATCH v2 2/3] drm/xe/xe_debugfs: Exposure of G-State residency counter through debugfs Soham Purkait
2025-05-29 17:57 ` Soham Purkait [this message]
2025-05-29 20:26 ` ✗ CI.Patch_applied: failure for Add debugfs to expose G2, G6, G8, G10 and ModS residency (rev2) Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250529175752.1222913-4-soham.purkait@intel.com \
--to=soham.purkait@intel.com \
--cc=anshuman.gupta@intel.com \
--cc=ashutosh.dixit@intel.com \
--cc=badal.nilawar@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=karthik.poosa@intel.com \
--cc=lucas.demarchi@intel.com \
--cc=riana.tauro@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox