xf86-video-intel: src/i810_reg.h src/i830_debug.c
Zhenyu Wang
zhen at kemper.freedesktop.org
Mon Sep 21 00:30:44 PDT 2009
src/i810_reg.h | 8 +++++---
src/i830_debug.c | 20 ++++++++++++++++++--
2 files changed, 23 insertions(+), 5 deletions(-)
New commits:
commit b4d29452b929a3ef224d3625e4bc66b787c5edb7
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date: Mon Sep 21 15:28:09 2009 +0800
More dumps for Arrandale LVDS
Signed-off-by: Zhenyu Wang <zhenyuw at linux.intel.com>
diff --git a/src/i810_reg.h b/src/i810_reg.h
index f8c6fb1..191ddb2 100644
--- a/src/i810_reg.h
+++ b/src/i810_reg.h
@@ -3068,9 +3068,10 @@ typedef enum {
#define PFB_CTL_1 0x68880
#define PF_ENABLE (1<<31)
-/* CPU panel fitter */
-#define PFA_CTRL_1 0x68080
-#define PFB_CTRL_1 0x68880
+#define PFA_WIN_POS 0x68070
+#define PFB_WIN_POS 0x68870
+#define PFA_WIN_SIZE 0x68074
+#define PFB_WIN_SIZE 0x68874
/* legacy palette */
#define LGC_PALETTE_A 0x4a000
@@ -3404,6 +3405,7 @@ typedef enum {
#define HDMIC 0xe1150
#define HDMID 0xe1160
+#define PCH_LVDS 0xe1180
#define AUD_CONFIG 0x62000
#define AUD_DEBUG 0x62010
diff --git a/src/i830_debug.c b/src/i830_debug.c
index cf3f439..eae141b 100644
--- a/src/i830_debug.c
+++ b/src/i830_debug.c
@@ -1213,6 +1213,17 @@ DEBUGSTRING(igdng_debug_panel_fitting)
val & (1 << 20) ? "field 0" : "field 1");
}
+DEBUGSTRING(igdng_debug_pf_win)
+{
+ int a, b;
+
+ a = (val >> 16) & 0x1fff;
+ b = val & 0xfff;
+
+ return XNFprintf("%d, %d", a, b);
+}
+
+
static struct i830SnapshotRec igdng_snapshot[] = {
DEFINEREG2(CPU_VGACNTRL, i830_debug_vgacntrl),
DEFINEREG(DIGITAL_PORT_HOTPLUG_CNTRL),
@@ -1284,8 +1295,12 @@ static struct i830SnapshotRec igdng_snapshot[] = {
DEFINEREG2(PIPEB_LINK_M2, igdng_debug_n),
DEFINEREG2(PIPEB_LINK_N2, igdng_debug_n),
- DEFINEREG2(PFA_CTRL_1, igdng_debug_panel_fitting),
- DEFINEREG2(PFB_CTRL_1, igdng_debug_panel_fitting),
+ DEFINEREG2(PFA_CTL_1, igdng_debug_panel_fitting),
+ DEFINEREG2(PFB_CTL_1, igdng_debug_panel_fitting),
+ DEFINEREG2(PFA_WIN_POS, igdng_debug_pf_win),
+ DEFINEREG2(PFB_WIN_POS, igdng_debug_pf_win),
+ DEFINEREG2(PFA_WIN_SIZE, igdng_debug_pf_win),
+ DEFINEREG2(PFB_WIN_SIZE, igdng_debug_pf_win),
/* PCH */
@@ -1361,6 +1376,7 @@ static struct i830SnapshotRec igdng_snapshot[] = {
DEFINEREG(HDMIB),
DEFINEREG(HDMIC),
DEFINEREG(HDMID),
+ DEFINEREG2(PCH_LVDS, i830_debug_lvds),
};
#define NUM_IGDNG_SNAPSHOTREGS (sizeof(igdng_snapshot) / sizeof(igdng_snapshot[0]))
#undef DEFINEREG
More information about the xorg-commit
mailing list