[igt-dev] [PATCH i-g-t 10/10] tools/intel_watermark: Decode SAGV WM usage correctly on ADL+
Ville Syrjala
ville.syrjala at linux.intel.com
Wed Jan 25 04:55:22 UTC 2023
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
The LP6 bit in WM_DBG has become the SAGV bit on ADL+. Decode
it correctly.
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
tools/intel_watermark.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/intel_watermark.c b/tools/intel_watermark.c
index e598cf122159..115ae8b2ad19 100644
--- a/tools/intel_watermark.c
+++ b/tools/intel_watermark.c
@@ -625,6 +625,8 @@ static void skl_wm_dump(void)
if (wm_dbg & (1 << (23 + level)))
printf(" LP%d", level);
}
+ if (skl_has_sagv_wm(devid) && wm_dbg & (1 << 29))
+ printf(" SAGV");
printf("\n");
/* clear the sticky bits */
write_reg(0x45280, wm_dbg);
--
2.39.1
More information about the igt-dev
mailing list