This fix reorganises the initial DP link training slightly, and
actually makes DP work under kms here.
Signed-off-by: Dave Airlie <airlied@redhat.com>
/* set initial vs/emph */
memset(train_set, 0, 4);
- dp_update_dpvs_emph(radeon_connector, encoder, train_set);
udelay(400);
/* set training pattern 1 on the sink */
dp_set_training(radeon_connector, DP_TRAINING_PATTERN_1);
+ dp_update_dpvs_emph(radeon_connector, encoder, train_set);
+
/* clock recovery loop */
clock_recovery = false;
tries = 0;