reg_dump: Dump display port register on Ironlake
authorZhao Yakui <yakui.zhao@intel.com>
Tue, 5 Jan 2010 14:13:43 +0000 (14:13 +0000)
committerEric Anholt <eric@anholt.net>
Fri, 15 Jan 2010 22:38:34 +0000 (14:38 -0800)
Dump the display port register on Ironlake.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
lib/intel_reg.h
tools/intel_reg_dumper.c

index 93bfcda..a743e67 100644 (file)
@@ -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
index 26891a2..d21e676 100644 (file)
@@ -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