drm/radeon/kms: update new pll algo
[deliverable/linux.git] / drivers / gpu / drm / radeon / atombios_crtc.c
index 0ec6934c3a26505ac6cffd120d59779bcbabd489..dd9fdf560611521aeb49d52f90da3fc3a59290df 100644 (file)
@@ -438,12 +438,16 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc,
 
        /* select the PLL algo */
        if (ASIC_IS_AVIVO(rdev)) {
-               if (radeon_new_pll)
-                       pll->algo = PLL_ALGO_AVIVO;
+               if (radeon_new_pll == 0)
+                       pll->algo = PLL_ALGO_LEGACY;
+               else
+                       pll->algo = PLL_ALGO_NEW;
+       } else {
+               if (radeon_new_pll == 1)
+                       pll->algo = PLL_ALGO_NEW;
                else
                        pll->algo = PLL_ALGO_LEGACY;
-       } else
-               pll->algo = PLL_ALGO_LEGACY;
+       }
 
        if (ASIC_IS_AVIVO(rdev)) {
                if ((rdev->family == CHIP_RS600) ||
This page took 0.024566 seconds and 5 git commands to generate.