[Intel-gfx] [PATCH] intel_reg_dumper: add PIPE_MULT

Dave Airlie airlied at gmail.com
Wed Apr 30 07:56:00 CEST 2014


From: Dave Airlie <airlied at redhat.com>

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

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

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),
-- 
1.9.0




More information about the Intel-gfx mailing list