]> Git Repo - linux.git/commitdiff
drm/radeon/kms: pll tweaks for rv6xx
authorAlex Deucher <[email protected]>
Thu, 7 Apr 2011 14:31:25 +0000 (10:31 -0400)
committerDave Airlie <[email protected]>
Sat, 9 Apr 2011 06:20:41 +0000 (16:20 +1000)
Prefer minm over maxp.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=35994

Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
Signed-off-by: Dave Airlie <[email protected]>
drivers/gpu/drm/radeon/atombios_crtc.c

index b41ec59c7100b98346c2b4d170c89e1034a43927..9d516a8c4dfa8bf8f8dda8935ece51ac4716efb7 100644 (file)
@@ -531,6 +531,12 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc,
                        pll->flags |= RADEON_PLL_PREFER_HIGH_FB_DIV;
                else
                        pll->flags |= RADEON_PLL_PREFER_LOW_REF_DIV;
+
+               if ((rdev->family == CHIP_R600) ||
+                   (rdev->family == CHIP_RV610) ||
+                   (rdev->family == CHIP_RV630) ||
+                   (rdev->family == CHIP_RV670))
+                       pll->flags |= RADEON_PLL_PREFER_MINM_OVER_MAXP;
        } else {
                pll->flags |= RADEON_PLL_LEGACY;
 
This page took 0.058309 seconds and 4 git commands to generate.