diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-12-09 12:55:25 -0500 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-12-09 12:55:25 -0500 |
commit | 46630da5fd6f45bb8ea150b870162997480d69c7 (patch) | |
tree | 80082feaa802872b4fe343f00cbe61787170e81f /src/radeon_atombios.c | |
parent | f082b1693d6f7f763ccf5a8436a89890ca2c6129 (diff) |
AVIVO: add new PLL code
This should hopefully help the problems with flickering
and blinking monitors reported on some systems. If there
are problems, the old PLL algorithm can be selected with:
Option "NewPLL" "FALSE"
in the device section of your X config.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Diffstat (limited to 'src/radeon_atombios.c')
-rw-r--r-- | src/radeon_atombios.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/radeon_atombios.c b/src/radeon_atombios.c index 72fbe214..c272c9a5 100644 --- a/src/radeon_atombios.c +++ b/src/radeon_atombios.c @@ -2204,14 +2204,17 @@ RADEONGetATOMClockInfo(ScrnInfoPtr pScrn) if (pll->pll_out_min == 0) pll->pll_out_min = 64800; + /* limiting the range is a good thing in most cases * as it limits the number of matching pll combinations, * however, some duallink DVI monitors seem to prefer combinations that * would be limited by this. This may need to be revisited * per chip family. */ - if (pll->pll_out_min > 64800) - pll->pll_out_min = 64800; + if (!xf86ReturnOptValBool(info->Options, OPTION_NEW_PLL, TRUE)) { + if (pll->pll_out_min > 64800) + pll->pll_out_min = 64800; + } return TRUE; } |