summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/intel_reg_dumper.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/intel_reg_dumper.c b/tools/intel_reg_dumper.c
index 0d24d01c2..a09afd4cf 100644
--- a/tools/intel_reg_dumper.c
+++ b/tools/intel_reg_dumper.c
@@ -1795,6 +1795,19 @@ DEBUGSTRING(hsw_debug_wm_pipe)
sprite, cursor);
}
+DEBUGSTRING(hsw_debug_sinterrupt)
+{
+ int portd, portc, portb, crt;
+
+ portd = (val >> 23) & 1;
+ portc = (val >> 22) & 1;
+ portb = (val >> 21) & 1;
+ crt = (val >> 19) & 1;
+
+ snprintf(result, len, "port d:%d, port c:%d, port b:%d, crt:%d",
+ portd, portc, portb, crt);
+}
+
static struct reg_debug ironlake_debug_regs[] = {
DEFINEREG(PGETBL_CTL),
DEFINEREG(GEN6_INSTDONE_1),
@@ -2253,6 +2266,8 @@ static struct reg_debug haswell_debug_regs[] = {
DEFINEREG(PIXCLK_GATE),
+ DEFINEREG2(SDEISR, hsw_debug_sinterrupt),
+
DEFINEREG(RC6_RESIDENCY_TIME),
};