From 6243e6dffacd512be414374ea075b350977e4eaf 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 pre-40nm parts May fix pll stability issues on some early r7xx parts. 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..6c867f6 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_RV740) /* set flag for pre-40nm parts */ 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