diff options
author | Alex Deucher <alex@botch2.(none)> | 2007-09-18 22:23:12 -0400 |
---|---|---|
committer | Alex Deucher <alex@botch2.(none)> | 2007-09-18 22:23:12 -0400 |
commit | dc333884c540d536bffe51a5ebfaf1822af6a91c (patch) | |
tree | eff6a8b3eaa764f9fca135c6f367647f50c31fcc /src/radeon_driver.c | |
parent | 271e541088f455d1cfedff87e88c9a4fdbdbe424 (diff) |
RADEON: fix plls again
previous fix seemed to break other chips. Lets see how
this goes.
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r-- | src/radeon_driver.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c index eb2d5795..5c374884 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -4661,7 +4661,10 @@ void RADEONRestorePLLRegisters(ScrnInfoPtr pScrn, OUTPLLP(pScrn, RADEON_VCLK_ECP_CNTL, RADEON_VCLK_SRC_SEL_PPLLCLK, ~(RADEON_VCLK_SRC_SEL_MASK)); - /*OUTPLL(pScrn, RADEON_VCLK_ECP_CNTL, restore->vclk_ecp_cntl);*/ + + usleep(50000); + + OUTPLL(pScrn, RADEON_VCLK_ECP_CNTL, restore->vclk_ecp_cntl); ErrorF("finished PLL1\n"); @@ -4735,7 +4738,10 @@ void RADEONRestorePLL2Registers(ScrnInfoPtr pScrn, OUTPLLP(pScrn, RADEON_PIXCLKS_CNTL, RADEON_PIX2CLK_SRC_SEL_P2PLLCLK, ~(RADEON_PIX2CLK_SRC_SEL_MASK)); - /*OUTPLL(pScrn, RADEON_PIXCLKS_CNTL, restore->pixclks_cntl);*/ + + usleep(5000); + + OUTPLL(pScrn, RADEON_PIXCLKS_CNTL, restore->pixclks_cntl); ErrorF("finished PLL2\n"); |