[Intel-gfx] [PATCH 09/10] debugging: add important debug regs

Ben Widawsky ben at bwidawsk.net
Mon Jul 18 01:25:47 CEST 2011


Cc: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
---
 lib/intel_reg.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

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 */
-- 
1.7.6




More information about the Intel-gfx mailing list