diff options
author | Dave Airlie <airlied@redhat.com> | 2009-11-25 17:55:18 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-12-07 19:22:46 -0500 |
commit | 5fbfce7fc906c4a9e3d5e0872e5d6affaca54761 (patch) | |
tree | b6dd08f08dc8121f71e0b5a57911737fcfd6ad51 /drivers/gpu | |
parent | 54d9cb47dd6a754e434e5adeccb3a1e2835594fd (diff) |
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/radeon/atombios_dp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/atombios_dp.c b/drivers/gpu/drm/radeon/atombios_dp.c index 65c82395c8e0..28741d40bf66 100644 --- a/drivers/gpu/drm/radeon/atombios_dp.c +++ b/drivers/gpu/drm/radeon/atombios_dp.c | |||
@@ -627,11 +627,12 @@ void dp_link_train(struct drm_encoder *encoder, | |||
627 | 627 | ||
628 | /* set initial vs/emph */ | 628 | /* set initial vs/emph */ |
629 | memset(train_set, 0, 4); | 629 | memset(train_set, 0, 4); |
630 | dp_update_dpvs_emph(radeon_connector, encoder, train_set); | ||
631 | udelay(400); | 630 | udelay(400); |
632 | /* set training pattern 1 on the sink */ | 631 | /* set training pattern 1 on the sink */ |
633 | dp_set_training(radeon_connector, DP_TRAINING_PATTERN_1); | 632 | dp_set_training(radeon_connector, DP_TRAINING_PATTERN_1); |
634 | 633 | ||
634 | dp_update_dpvs_emph(radeon_connector, encoder, train_set); | ||
635 | |||
635 | /* clock recovery loop */ | 636 | /* clock recovery loop */ |
636 | clock_recovery = false; | 637 | clock_recovery = false; |
637 | tries = 0; | 638 | tries = 0; |