drm/radeon/kms/dp: disable training pattern on the sink at the end of link training
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 30 Mar 2010 06:03:48 +0000 (02:03 -0400)
committerDave Airlie <airlied@redhat.com>
Wed, 31 Mar 2010 03:14:08 +0000 (13:14 +1000)
Seems to have gotten lost in the evergreen merge.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/atombios_dp.c

index ca776b29513a37d1368bb001d672156d18e764a3..28b31c64f48dd4eee064356c1d8a2bd840165f0d 100644 (file)
@@ -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