提交 a02dc74b 编写于 作者: A Alex Deucher

drm/radeon/dce32+: use fractional fb dividers for high clocks

Fixes flickering with some high res montiors.
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
CC: stable@vger.kernel.org
上级 0d0b3e74
...@@ -561,6 +561,8 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc, ...@@ -561,6 +561,8 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc,
/* use frac fb div on APUs */ /* use frac fb div on APUs */
if (ASIC_IS_DCE41(rdev) || ASIC_IS_DCE61(rdev)) if (ASIC_IS_DCE41(rdev) || ASIC_IS_DCE61(rdev))
radeon_crtc->pll_flags |= RADEON_PLL_USE_FRAC_FB_DIV; radeon_crtc->pll_flags |= RADEON_PLL_USE_FRAC_FB_DIV;
if (ASIC_IS_DCE32(rdev) && mode->clock > 165000)
radeon_crtc->pll_flags |= RADEON_PLL_USE_FRAC_FB_DIV;
} else { } else {
radeon_crtc->pll_flags |= RADEON_PLL_LEGACY; radeon_crtc->pll_flags |= RADEON_PLL_LEGACY;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册