summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.(none)>2007-12-14 02:17:14 -0500
committerAlex Deucher <alex@botch2.(none)>2007-12-14 02:17:14 -0500
commita84d446fd301d456bcea8f7abdc52e5a30776412 (patch)
treebb74c2f9e261bbf6771e9bc711a7c96567436b24
parent6ccf5b33d27218ae1c45ab93c122438ed536d8ba (diff)
RADEON: select fb_div0 for LVDS on RV410 (x700) mobility
Fixes bug 8038 I wonder if desktop RV410 need a similar fix. If your x700 laptop panel has problems after this let me know.
-rw-r--r--src/radeon_driver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 122c582..55752d1 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -4038,6 +4038,10 @@ void RADEONRestoreLVDSRegisters(ScrnInfoPtr pScrn, RADEONSavePtr restore)
if (info->IsMobility) {
OUTREG(RADEON_LVDS_GEN_CNTL, restore->lvds_gen_cntl);
OUTREG(RADEON_LVDS_PLL_CNTL, restore->lvds_pll_cntl);
+
+ if (info->ChipFamily == CHIP_FAMILY_RV410) {
+ OUTREG(RADEON_CLOCK_CNTL_INDEX, 0);
+ }
}
}