From 3cc2ebbca98038256c55a6db3e006dbcca1391fe Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Tue, 18 Apr 2017 10:25:41 -0400 Subject: [PATCH] drm/radeon: adjust pll flags for RV770 May fix pll stability issues on some early RV770. bug: https://bugs.freedesktop.org/show_bug.cgi?id=98046 Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers/gpu/drm/radeon/atombios_crtc.c index 3c492a0..8b88597 100644 --- a/drivers/gpu/drm/radeon/atombios_crtc.c +++ b/drivers/gpu/drm/radeon/atombios_crtc.c @@ -583,7 +583,7 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc, else radeon_crtc->pll_flags |= RADEON_PLL_PREFER_LOW_REF_DIV; - if (rdev->family < CHIP_RV770) + if (rdev->family <= CHIP_RV770) /* set flag for parts up to DCE3.1 */ radeon_crtc->pll_flags |= RADEON_PLL_PREFER_MINM_OVER_MAXP; /* use frac fb div on APUs */ if (ASIC_IS_DCE41(rdev) || ASIC_IS_DCE61(rdev) || ASIC_IS_DCE8(rdev)) -- 2.5.5