diff mbox

[09/10] debugging: add important debug regs

Message ID 1310945148-6777-10-git-send-email-ben@bwidawsk.net (mailing list archive)
State New, archived
Headers show

Commit Message

Ben Widawsky July 17, 2011, 11:25 p.m. UTC
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
---
 lib/intel_reg.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/lib/intel_reg.h b/lib/intel_reg.h
index 48d8f66..308f597 100644
--- a/lib/intel_reg.h
+++ b/lib/intel_reg.h
@@ -359,6 +359,7 @@  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #define THREE_D_INST_DISABLE         0x04
 #define STATE_VAR_UPDATE_DISABLE     0x02
 #define PAL_STIP_DISABLE             0x01
+#define GEN6_GLOBAL_DEBUG_ENABLE     0x10
 
 
 #define MEMMODE                  0x20dc
@@ -3488,5 +3489,8 @@  typedef enum {
 #define  TRANS_DP_HSYNC_ACTIVE_HIGH     (1<<3)
 #define  TRANS_DP_HSYNC_ACTIVE_LOW      0
 
+/* Debug regs */
+#define GEN6_TD_CTL		0x7000 /* <= GEN5 was at 0x8000 */
+#define GEN6_TD_CTL_FORCE_TD_BKPT (1<<4)
 
 #endif /* _I810_REG_H */