Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8e24525 authored by Alex Deucher's avatar Alex Deucher
Browse files

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: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
parent 6dfa09d7
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -938,12 +938,15 @@ 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:
			if (ASIC_IS_DCE4(rdev))