summaryrefslogtreecommitdiff
path: root/src/radeon_reg.h
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.(none)>2007-09-23 14:44:38 -0400
committerAlex Deucher <alex@botch2.(none)>2007-09-23 14:44:38 -0400
commitb27135bce8b41d69290613b440a338b0a7fe0200 (patch)
tree6013a8a9eda79e1ef65c9687154516f64ba674ac /src/radeon_reg.h
parentd5cf268be2c9b3e320d7101f5213f7d5609b6308 (diff)
RADEON: fix up LVDS handling for r3xx and newer
Diffstat (limited to 'src/radeon_reg.h')
-rw-r--r--src/radeon_reg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/radeon_reg.h b/src/radeon_reg.h
index af62a692..96adb222 100644
--- a/src/radeon_reg.h
+++ b/src/radeon_reg.h
@@ -924,6 +924,12 @@
#define RADEON_LVDS_PLL_CNTL 0x02d4
# define RADEON_HSYNC_DELAY_SHIFT 28
# define RADEON_HSYNC_DELAY_MASK (0xf << 28)
+# define RADEON_LVDS_PLL_EN (1 << 16)
+# define RADEON_LVDS_PLL_RESET (1 << 17)
+# define R300_LVDS_SRC_SEL_MASK (3 << 18)
+# define R300_LVDS_SRC_SEL_CRTC1 (0 << 18)
+# define R300_LVDS_SRC_SEL_CRTC2 (1 << 18)
+# define R300_LVDS_SRC_SEL_RMX (2 << 18)
#define RADEON_MAX_LATENCY 0x0f3f /* PCI */
#define RADEON_MC_AGP_LOCATION 0x014c