diff options
author | Alex Deucher <alex@botch2.(none)> | 2007-12-23 11:27:55 -0500 |
---|---|---|
committer | Alex Deucher <alex@botch2.(none)> | 2007-12-23 11:27:55 -0500 |
commit | 20eedf348a527e1e0a5450bc22d7564895034a66 (patch) | |
tree | fe116f9ab85c1d5fc0ff6a1791823068cb53db19 | |
parent | 4f2e833e8ebaba3ad85ec5314fff8fa05395b679 (diff) |
RADEON: fix pll input setup on mac cards
the function was exiting before the complete setup was finished.
-rw-r--r-- | src/radeon_driver.c | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 9c6c0e45..4e4f23e8 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -1231,19 +1231,18 @@ static void RADEONGetClockInfo(ScrnInfoPtr pScrn) pll->pll_out_max = 35000; } - if (RADEONProbePLLParameters(pScrn)) - return; + if (!RADEONProbePLLParameters(pScrn)) { + if (info->IsIGP) + pll->reference_freq = 1432; + else + pll->reference_freq = 2700; - if (info->IsIGP) - pll->reference_freq = 1432; - else - pll->reference_freq = 2700; + pll->reference_div = 12; + pll->xclk = 10300; - pll->reference_div = 12; - pll->xclk = 10300; - - info->sclk = 200.00; - info->mclk = 200.00; + info->sclk = 200.00; + info->mclk = 200.00; + } } /* card limits for computing PLLs */ |