diff options
author | Christian König <christian.koenig@amd.com> | 2016-08-18 11:51:14 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-08-18 11:17:48 -0400 |
commit | ae5b80d2b68eac945b124227dea34462118a6f01 (patch) | |
tree | 06ae4f04e11bb41b377bf9633a47638898de2cf4 /drivers/gpu/drm/radeon/atombios_crtc.c | |
parent | 91d62d9f30206be6f7749a0e6f7fa58c6d70c702 (diff) | |
download | blackbird-op-linux-ae5b80d2b68eac945b124227dea34462118a6f01.tar.gz blackbird-op-linux-ae5b80d2b68eac945b124227dea34462118a6f01.zip |
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 <alexander.deucher@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/radeon/atombios_crtc.c')
-rw-r--r-- | drivers/gpu/drm/radeon/atombios_crtc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers/gpu/drm/radeon/atombios_crtc.c index a97abc8af657..1dcf39084555 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; } } |