summaryrefslogtreecommitdiff
path: root/src/atombios_crtc.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-06-11 16:09:40 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-06-11 16:09:40 -0400
commit808c90a24c48da7fa97e15e2f12be5bb8fd8cc96 (patch)
treeb3227d5ff8c9046eff759aead169e641f6ba4e2f /src/atombios_crtc.c
parentd095bb3157faaee10b0130ea9b1032e0b533aaee (diff)
Only enable frac fb divs on rs600/rs690/rs740 for now
fixes bug 21413
Diffstat (limited to 'src/atombios_crtc.c')
-rw-r--r--src/atombios_crtc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/atombios_crtc.c b/src/atombios_crtc.c
index ae7e65ea..d3fb62b5 100644
--- a/src/atombios_crtc.c
+++ b/src/atombios_crtc.c
@@ -276,7 +276,10 @@ 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 ((info->ChipFamily == CHIP_FAMILY_RS600) ||
+ (info->ChipFamily == CHIP_FAMILY_RS690) ||
+ (info->ChipFamily == CHIP_FAMILY_RS740))
+ 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