[PATCH] drm/radeon: only apply the SS fractional workaround to RS[78]80
Christian König
deathsimple at vodafone.de
Thu Aug 18 09:53:42 UTC 2016
Am 18.08.2016 um 11:51 schrieb Christian König:
> From: Christian König <christian.koenig at amd.com>
>
> Looks like some RV6xx have problems with that.
>
> Signed-off-by: Christian König <christian.koenig at amd.com>
Ups, here should be a CC:stable as well.
Christian.
> ---
> drivers/gpu/drm/radeon/atombios_crtc.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers/gpu/drm/radeon/atombios_crtc.c
> index a97abc8..1dcf390 100644
> --- a/drivers/gpu/drm/radeon/atombios_crtc.c
> +++ b/drivers/gpu/drm/radeon/atombios_crtc.c
> @@ -627,7 +627,9 @@ 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) &&
> + rdev->family != CHIP_RS780 &&
> + rdev->family != CHIP_RS880)
> radeon_crtc->pll_flags |= RADEON_PLL_USE_FRAC_FB_DIV;
> }
> }
More information about the amd-gfx
mailing list