diff mbox

intel_reg_dumper: add PIPE_MULT

Message ID 1398837360-20405-1-git-send-email-airlied@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Dave Airlie April 30, 2014, 5:56 a.m. UTC
From: Dave Airlie <airlied@redhat.com>

this is defined in the hsw docs, for the hdmi/dvi multiplier.

Signed-off-by: Dave Airlie <airlied@redhat.com>
---
 lib/intel_reg.h          | 3 +++
 tools/intel_reg_dumper.c | 3 +++
 2 files changed, 6 insertions(+)
diff mbox

Patch

diff --git a/lib/intel_reg.h b/lib/intel_reg.h
index 4b3a102..82ea85f 100644
--- a/lib/intel_reg.h
+++ b/lib/intel_reg.h
@@ -849,6 +849,7 @@  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #define PIPEASRC	0x6001c
 #define BCLRPAT_A	0x60020
 #define VSYNCSHIFT_A	0x60028
+#define MULT_A  	0x6002C
 
 #define HTOTAL_B	0x61000
 #define HBLANK_B	0x61004
@@ -859,6 +860,7 @@  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #define PIPEBSRC	0x6101c
 #define BCLRPAT_B	0x61020
 #define VSYNCSHIFT_B	0x61028
+#define MULT_B  	0x6102C
 
 #define HTOTAL_C	0x62000
 #define HBLANK_C	0x62004
@@ -869,6 +871,7 @@  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #define PIPECSRC	0x6201c
 #define BCLRPAT_C	0x62020
 #define VSYNCSHIFT_C	0x62028
+#define MULT_C  	0x6202C
 
 #define HTOTAL_EDP	0x6F000
 #define HBLANK_EDP	0x6F004
diff --git a/tools/intel_reg_dumper.c b/tools/intel_reg_dumper.c
index a482b5d..c0a5f7a 100644
--- a/tools/intel_reg_dumper.c
+++ b/tools/intel_reg_dumper.c
@@ -2475,6 +2475,7 @@  static struct reg_debug haswell_debug_regs[] = {
 	DEFINEREG2(VBLANK_A, i830_debug_hvsyncblank),
 	DEFINEREG2(VSYNC_A, i830_debug_hvsyncblank),
 	DEFINEREG(VSYNCSHIFT_A),
+	DEFINEREG(MULT_A),
 	DEFINEREG2(PIPEA_DATA_M1, ironlake_debug_m_tu),
 	DEFINEREG2(PIPEA_DATA_N1, ironlake_debug_n),
 	DEFINEREG2(PIPEA_LINK_M1, ironlake_debug_n),
@@ -2489,6 +2490,7 @@  static struct reg_debug haswell_debug_regs[] = {
 	DEFINEREG2(VBLANK_B, i830_debug_hvsyncblank),
 	DEFINEREG2(VSYNC_B, i830_debug_hvsyncblank),
 	DEFINEREG(VSYNCSHIFT_B),
+	DEFINEREG(MULT_B),
 	DEFINEREG2(PIPEB_DATA_M1, ironlake_debug_m_tu),
 	DEFINEREG2(PIPEB_DATA_N1, ironlake_debug_n),
 	DEFINEREG2(PIPEB_LINK_M1, ironlake_debug_n),
@@ -2503,6 +2505,7 @@  static struct reg_debug haswell_debug_regs[] = {
 	DEFINEREG2(VBLANK_C, i830_debug_hvsyncblank),
 	DEFINEREG2(VSYNC_C, i830_debug_hvsyncblank),
 	DEFINEREG(VSYNCSHIFT_C),
+	DEFINEREG(MULT_C),
 	DEFINEREG2(PIPEC_DATA_M1, ironlake_debug_m_tu),
 	DEFINEREG2(PIPEC_DATA_N1, ironlake_debug_n),
 	DEFINEREG2(PIPEC_LINK_M1, ironlake_debug_n),