summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/atombios_crtc.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2014-01-13 16:47:05 -0500
committerAlex Deucher <alexander.deucher@amd.com>2014-01-20 12:05:17 -0500
commitd8e24525094200601236fa64a54cf73e3d682f2e (patch)
tree7be3443e6eb1860f2539a4907a791db27c2c5b1c /drivers/gpu/drm/radeon/atombios_crtc.c
parent6dfa09d7c9dd73fbcd9c7edbb4fa947637d4ed6e (diff)
downloadlinux-stable-d8e24525094200601236fa64a54cf73e3d682f2e.tar.gz
linux-stable-d8e24525094200601236fa64a54cf73e3d682f2e.tar.bz2
linux-stable-d8e24525094200601236fa64a54cf73e3d682f2e.zip
drm/radeon: disable ss on DP for DCE3.x
Seems to cause problems with certain DP monitors. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40699 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.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers/gpu/drm/radeon/atombios_crtc.c
index 0b9621c9aeea..762b660af5aa 100644
--- a/drivers/gpu/drm/radeon/atombios_crtc.c
+++ b/drivers/gpu/drm/radeon/atombios_crtc.c
@@ -938,11 +938,14 @@ static bool atombios_crtc_prepare_pll(struct drm_crtc *crtc, struct drm_display_
radeon_atombios_get_ppll_ss_info(rdev,
&radeon_crtc->ss,
ATOM_DP_SS_ID1);
- } else
+ } else {
radeon_crtc->ss_enabled =
radeon_atombios_get_ppll_ss_info(rdev,
&radeon_crtc->ss,
ATOM_DP_SS_ID1);
+ }
+ /* disable spread spectrum on DCE3 DP */
+ radeon_crtc->ss_enabled = false;
}
break;
case ATOM_ENCODER_MODE_LVDS: