浏览代码

drm/radeon/kms: pll tweaks for rv6xx

Prefer minm over maxp.

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

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
Alex Deucher 14 年之前
父节点
当前提交
9bb09fa1b5
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      drivers/gpu/drm/radeon/atombios_crtc.c

+ 6 - 0
drivers/gpu/drm/radeon/atombios_crtc.c

@@ -531,6 +531,12 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc,
 			pll->flags |= RADEON_PLL_PREFER_HIGH_FB_DIV;
 			pll->flags |= RADEON_PLL_PREFER_HIGH_FB_DIV;
 		else
 		else
 			pll->flags |= RADEON_PLL_PREFER_LOW_REF_DIV;
 			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 {
 	} else {
 		pll->flags |= RADEON_PLL_LEGACY;
 		pll->flags |= RADEON_PLL_LEGACY;