summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-12-01 00:52:24 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-12-01 00:57:36 +0100
commitda6473184ccd35d203a1de435b7b500f5c222662 (patch)
tree46f6d5218f046d3055107520e6728d6f23b2ae3d
parent0d7139af5813f227f120bf13152c35dd08774e6b (diff)
tools/intel_reg_dumper: add some cpt/ppt debug regs
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--lib/intel_reg.h9
-rw-r--r--tools/intel_reg_dumper.c10
2 files changed, 19 insertions, 0 deletions
diff --git a/lib/intel_reg.h b/lib/intel_reg.h
index ae220b8..99d97bb 100644
--- a/lib/intel_reg.h
+++ b/lib/intel_reg.h
@@ -1577,6 +1577,9 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define ADPA_HSYNC_ACTIVE_HIGH (1<<3)
#define ADPA_HSYNC_ACTIVE_LOW 0
+#define PCH_DSP_CHICKEN1 0x42000
+#define PCH_DSP_CHICKEN2 0x42004
+#define PCH_DSP_CHICKEN3 0x4200c
#define PCH_DSPCLK_GATE_D 0x42020
#define PCH_DSPRAMCLK_GATE_D 0x42024
#define PCH_3DCGDIS0 0x46020
@@ -3341,6 +3344,12 @@ typedef enum {
#define FDI_SCRAMBLING_ENABLE (0<<7)
#define FDI_SCRAMBLING_DISABLE (1<<7)
+/* Additional cpu TX control regs, from ivb bspec */
+#define DPAFE_BMFUNC 0x6c024
+#define DPAFE_DL_IREFCAL0 0x6c02c
+#define DPAFE_DL_IREFCAL1 0x6c030
+#define DPAFE_DP_IREFCAL 0x6c034
+
/* FDI_RX, FDI_X is hard-wired to Transcoder_X */
#define FDI_RXA_CTL 0xf000c
#define FDI_RXB_CTL 0xf100c
diff --git a/tools/intel_reg_dumper.c b/tools/intel_reg_dumper.c
index f04702c..20f332f 100644
--- a/tools/intel_reg_dumper.c
+++ b/tools/intel_reg_dumper.c
@@ -1777,6 +1777,16 @@ static struct reg_debug ironlake_debug_regs[] = {
DEFINEREG2(FDI_RXB_CTL, ironlake_debug_fdi_rx_ctl),
DEFINEREG2(FDI_RXC_CTL, ironlake_debug_fdi_rx_ctl),
+ DEFINEREG(DPAFE_BMFUNC),
+ DEFINEREG(DPAFE_DL_IREFCAL0),
+ DEFINEREG(DPAFE_DL_IREFCAL1),
+ DEFINEREG(DPAFE_DP_IREFCAL),
+
+ DEFINEREG(PCH_DSPCLK_GATE_D),
+ DEFINEREG(PCH_DSP_CHICKEN1),
+ DEFINEREG(PCH_DSP_CHICKEN2),
+ DEFINEREG(PCH_DSP_CHICKEN3),
+
DEFINEREG2(FDI_RXA_MISC, ironlake_debug_fdi_rx_misc),
DEFINEREG2(FDI_RXB_MISC, ironlake_debug_fdi_rx_misc),
DEFINEREG2(FDI_RXC_MISC, ironlake_debug_fdi_rx_misc),