Skip to content

Commit ae5b80d

Browse files
ChristianKoenigAMDalexdeucher
authored andcommitted
drm/radeon: only apply the SS fractional workaround to RS[78]80
Looks like some RV6xx have problems with that. bug: https://bugs.freedesktop.org/show_bug.cgi?id=97099 Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
1 parent 91d62d9 commit ae5b80d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/gpu/drm/radeon/atombios_crtc.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,9 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc,
627627
if (radeon_crtc->ss.refdiv) {
628628
radeon_crtc->pll_flags |= RADEON_PLL_USE_REF_DIV;
629629
radeon_crtc->pll_reference_div = radeon_crtc->ss.refdiv;
630-
if (rdev->family >= CHIP_RV770)
630+
if (ASIC_IS_AVIVO(rdev) &&
631+
rdev->family != CHIP_RS780 &&
632+
rdev->family != CHIP_RS880)
631633
radeon_crtc->pll_flags |= RADEON_PLL_USE_FRAC_FB_DIV;
632634
}
633635
}

0 commit comments

Comments
 (0)