[igt-dev] [PATCH i-g-t v1 5/6] [intel-gfx] lib/intel_reg : This patch adds Display C States related residency counters.

Jyoti Yadav jyoti.r.yadav at intel.com
Wed Sep 26 15:59:22 UTC 2018


Signed-off-by: Jyoti Yadav <jyoti.r.yadav at intel.com>
---
 lib/intel_reg.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/intel_reg.h b/lib/intel_reg.h
index f85fb74..4f424f0 100644
--- a/lib/intel_reg.h
+++ b/lib/intel_reg.h
@@ -3621,4 +3621,9 @@ typedef enum {
 #define VLV_IOSF_DATA				(VLV_DISPLAY_BASE + 0x2104)
 #define VLV_IOSF_ADDR				(VLV_DISPLAY_BASE + 0x2108)
 
+/* Display C states related residency counter registers. */
+#define SKL_CSR_DC3_DC5_COUNT  0x80030
+#define SKL_CSR_DC5_DC6_COUNT  0x8002C
+#define BXT_CSR_DC3_DC5_COUNT  0x80038
+
 #endif /* _I810_REG_H */
-- 
2.7.4



More information about the igt-dev mailing list