[igt-dev] [PATCH i-g-t 1/7] tools/intel_watermark: Add missing intel_register_access_fini() for skl+
Ville Syrjala
ville.syrjala at linux.intel.com
Tue Sep 13 16:00:55 UTC 2022
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
The skl+ code forgot to call intel_register_access_fini(). Make
it do so.
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 1e235ed30a63..1818d79d0bee 100644
--- a/tools/intel_watermark.c
+++ b/tools/intel_watermark.c
@@ -590,6 +590,8 @@ static void skl_wm_dump(void)
printf("\n");
/* clear the sticky bits */
write_reg(0x45280, wm_dbg);
+
+ intel_register_access_fini(&mmio_data);
}
static void ilk_wm_dump(void)
--
2.35.1
More information about the igt-dev
mailing list