diff mbox

drm/radeon/kms/dp: disable training pattern on the sink at the end of link training

Message ID a728f9f91003292306x1be373e3g1af7ff8edbc3e44e@mail.gmail.com (mailing list archive)
State Accepted
Headers show

Commit Message

Alex Deucher March 30, 2010, 6:06 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/gpu/drm/radeon/atombios_dp.c
b/drivers/gpu/drm/radeon/atombios_dp.c
index ca776b2..28b31c6 100644
--- a/drivers/gpu/drm/radeon/atombios_dp.c
+++ b/drivers/gpu/drm/radeon/atombios_dp.c
@@ -745,6 +745,9 @@  void dp_link_train(struct drm_encoder *encoder,
 			  >> DP_TRAIN_PRE_EMPHASIS_SHIFT);

 	/* disable the training pattern on the sink */
+	dp_set_training(radeon_connector, DP_TRAINING_PATTERN_DISABLE);
+
+	/* disable the training pattern on the source */
 	if (ASIC_IS_DCE4(rdev))
 		atombios_dig_encoder_setup(encoder,
ATOM_ENCODER_CMD_DP_LINK_TRAINING_COMPLETE);