summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-02-22 17:34:51 -0500
committerAlex Deucher <alexdeucher@gmail.com>2010-02-22 17:34:51 -0500
commit0c3468d812e3790ce03d9e76779ae81e7b7b82d5 (patch)
tree0e2dbf790c3c02a0665a278220e996fe469573f0
parent212e152536c4325e6799018891d9aee132681f48 (diff)
AVIVO: set frac fb divider pll flag
matches previous behavior
-rw-r--r--src/radeon_crtc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/radeon_crtc.c b/src/radeon_crtc.c
index 5deff8dc..79ea4df3 100644
--- a/src/radeon_crtc.c
+++ b/src/radeon_crtc.c
@@ -460,11 +460,13 @@ RADEONComputePLL(ScrnInfoPtr pScrn,
RADEONInfoPtr info = RADEONPTR(pScrn);
if (IS_AVIVO_VARIANT) {
- if (xf86ReturnOptValBool(info->Options, OPTION_NEW_PLL, TRUE))
+ if (xf86ReturnOptValBool(info->Options, OPTION_NEW_PLL, TRUE)) {
+ /* to match previous behavior */
+ flags |= RADEON_PLL_USE_FRAC_FB_DIV;
RADEONComputePLL_new(pll, freq, chosen_dot_clock_freq,
chosen_feedback_div, chosen_frac_feedback_div,
chosen_reference_div, chosen_post_div, flags);
- else
+ } else
RADEONComputePLL_old(pll, freq, chosen_dot_clock_freq,
chosen_feedback_div, chosen_frac_feedback_div,
chosen_reference_div, chosen_post_div, flags);