Commit da647318 authored by Daniel Vetter's avatar Daniel Vetter

tools/intel_reg_dumper: add some cpt/ppt debug regs

Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 0d7139af
......@@ -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
......
......@@ -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),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment