Skip to contentSkip to conversation

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

PATCH New Alex Deucher 1 participant 1 message Mar 30, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

Quoted 1 line

From 25f6a40d0acc51bc3437838ecea88e63b8c32b40 Mon Sep 17 00:00:00 2001

From: Alex Deucher <[email protected]>
Date: Tue, 30 Mar 2010 02:03:48 -0400
Subject: [PATCH] drm/radeon/kms/dp: disable training pattern on the sink at the end of link training

Seems to have gotten lost in the evergreen merge.

---
 drivers/gpu/drm/radeon/atombios_dp.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
(quoted diff) +0 -0

b/drivers/gpu/drm/radeon/atombios_dp.c
index ca776b2..28b31c6 100644

drivers/gpu/drm/radeon/atombios_dp.c +3 -0
@@ -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);
else

Signature · 1 line
1.5.6.3

From 25f6a40d0acc51bc3437838ecea88e63b8c32b40 Mon Sep 17 00:00:00 2001
From: Alex Deucher <[email protected]>
Date: Tue, 30 Mar 2010 02:03:48 -0400
Subject: [PATCH] drm/radeon/kms/dp: disable training pattern on the sink at the end of link training

Seems to have gotten lost in the evergreen merge.

---
 drivers/gpu/drm/radeon/atombios_dp.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/gpu/drm/radeon/atombios_dp.c +3 -0
index ca776b2..28b31c6 100644
@@ -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);
 	else
Signature · 1 line
1.5.6.3

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel