summaryrefslogtreecommitdiff
path: root/src/atombios_crtc.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-06-11 12:34:15 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-06-11 12:34:15 -0400
commitd095bb3157faaee10b0130ea9b1032e0b533aaee (patch)
tree71c76fc176986e2211a9585930338958dbaf134a /src/atombios_crtc.c
parent55fbdbae83d1563b472f49d0436c9298e390be66 (diff)
Re-enable frac feedback dividers on AVIVO hardware
Preferring a freq <= target frequency seems to fix the previous issues with frac fb divs. Appears to work fine on all hardware I've tested on. See fdo bug 22229 for details. Should fix bugs: 22229, 21553, 21413, and possibly other ones related to unstable images at certain resolutions.
Diffstat (limited to 'src/atombios_crtc.c')
-rw-r--r--src/atombios_crtc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/atombios_crtc.c b/src/atombios_crtc.c
index f3318001..ae7e65ea 100644
--- a/src/atombios_crtc.c
+++ b/src/atombios_crtc.c
@@ -276,6 +276,7 @@ atombios_crtc_set_pll(xf86CrtcPtr crtc, DisplayModePtr mode)
memset(&spc_param, 0, sizeof(spc_param));
if (IS_AVIVO_VARIANT) {
+ pll_flags |= RADEON_PLL_USE_FRAC_FB_DIV | RADEON_PLL_PREFER_CLOSEST_LOWER;
if (IS_DCE3_VARIANT && mode->Clock > 200000) /* range limits??? */
pll_flags |= RADEON_PLL_PREFER_HIGH_FB_DIV;
else