[PATCH] drm/radeon: only apply the SS fractional workaround to RS[78]80
Deucher, Alexander
Alexander.Deucher at amd.com
Thu Aug 18 13:40:03 UTC 2016
> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf
> Of Christian König
> Sent: Thursday, August 18, 2016 5:51 AM
> To: amd-gfx at lists.freedesktop.org
> Cc: Deucher, Alexander
> Subject: [PATCH] drm/radeon: only apply the SS fractional workaround to
> RS[78]80
>
> 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>
Please mention the bugzilla in the patch. With that included:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> 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;
> }
> }
> --
> 2.5.0
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
More information about the amd-gfx
mailing list