summaryrefslogtreecommitdiff
path: root/lib/intel_reg.h
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni.dodonov@intel.com>2011-10-25 14:40:12 -0200
committerEugeni Dodonov <eugeni.dodonov@intel.com>2012-01-03 15:18:06 -0200
commit1649ab350f60b664a51fc4a7fd9c225bb72eb0a8 (patch)
tree354e7b2542dcbef09af31d644b23503914bbe759 /lib/intel_reg.h
parentf3f84bb3502cd1188dbc60cd975564eb3c3d4670 (diff)
tools/intel_reg_dumper: Add support for debug register
Right now, we only check for hardware DRRS support. But much more can be done with it. Some day. Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Diffstat (limited to 'lib/intel_reg.h')
-rw-r--r--lib/intel_reg.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/intel_reg.h b/lib/intel_reg.h
index 3797de6e..933a83aa 100644
--- a/lib/intel_reg.h
+++ b/lib/intel_reg.h
@@ -3494,4 +3494,12 @@ typedef enum {
#define GEN6_TD_CTL 0x7000 /* <= GEN5 was at 0x8000 */
#define GEN6_TD_CTL_FORCE_TD_BKPT (1<<4)
+/* Port debugging
+ */
+
+#define PORT_DBG 0x42308
+#define PORT_DBG_DRRS_HW_STATE_OFF (0<<30)
+#define PORT_DBG_DRRS_HW_STATE_LOW (1<<30)
+#define PORT_DBG_DRRS_HW_STATE_HIGH (2<<30)
+
#endif /* _I810_REG_H */