[Intel-gfx] [PATCH] reg_dump: Dump display port register on Ironlake

yakui.zhao at intel.com yakui.zhao at intel.com
Tue Jan 5 15:13:43 CET 2010


From: Zhao Yakui <yakui.zhao at intel.com>

Dump the display port register on Ironlake.

Signed-off-by: Zhao Yakui <yakui.zhao at intel.com>
---
 lib/intel_reg.h          |    4 ++++
 tools/intel_reg_dumper.c |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/lib/intel_reg.h b/lib/intel_reg.h
index 93bfcda..a743e67 100644
--- a/lib/intel_reg.h
+++ b/lib/intel_reg.h
@@ -1432,6 +1432,10 @@ 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_eDP_A		0x64000
+#define PCH_DP_B		0xe4100
+#define PCH_DP_C		0xe4200
+#define PCH_DP_D		0xe4300
 
 #define DVOA			0x61120
 #define DVOB			0x61140
diff --git a/tools/intel_reg_dumper.c b/tools/intel_reg_dumper.c
index 26891a2..d21e676 100644
--- a/tools/intel_reg_dumper.c
+++ b/tools/intel_reg_dumper.c
@@ -1392,6 +1392,10 @@ static struct reg_debug ironlake_debug_regs[] = {
 	DEFINEREG(HDMIC),
 	DEFINEREG(HDMID),
 	DEFINEREG2(PCH_LVDS, i830_debug_lvds),
+	DEFINEREG(PCH_eDP_A),
+	DEFINEREG(PCH_DP_B),
+	DEFINEREG(PCH_DP_C),
+	DEFINEREG(PCH_DP_D),
 };
 
 static void
-- 
1.5.4.5




More information about the Intel-gfx mailing list