From aef7af7ee1d92ef78cd620cbcb7298895a8a3865 Mon Sep 17 00:00:00 2001 From: Jaime Velasco Juan Date: Wed, 27 Jul 2016 19:53:13 +0100 Subject: [PATCH] Partially revert 9ef8537e6: drm/radeon: don't use fractional... This hunk breaks my Mobility Radeon 3470 (RV620) causing a diagonal moving wavy pattern in the LVDS display. --- 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 259cd6e..9b0948b 100644 --- a/drivers/gpu/drm/radeon/atombios_crtc.c +++ b/drivers/gpu/drm/radeon/atombios_crtc.c @@ -627,7 +627,7 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc, if (radeon_crtc->ss.refdiv) { radeon_crtc->pll_flags |= RADEON_PLL_USE_REF_DIV; radeon_crtc->pll_reference_div = radeon_crtc->ss.refdiv; - if (rdev->family >= CHIP_RV770) + if (ASIC_IS_AVIVO(rdev)) radeon_crtc->pll_flags |= RADEON_PLL_USE_FRAC_FB_DIV; } } -- 2.8.1