drm/radeon/kms: make displayport work by reorganising vsemph setup.
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>
This commit is contained in:
parent
54d9cb47dd
commit
5fbfce7fc9
1 changed files with 2 additions and 1 deletions
|
@ -627,11 +627,12 @@ void dp_link_train(struct drm_encoder *encoder,
|
|||
|
||||
/* 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;
|
||||
|
|
Reference in a new issue