aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-11-26 08:55:18 +1000
committerDave Airlie <airlied@redhat.com>2009-12-08 10:22:46 +1000
commit5fbfce7fc906c4a9e3d5e0872e5d6affaca54761 (patch)
treeb6dd08f08dc8121f71e0b5a57911737fcfd6ad51 /drivers/gpu/drm/radeon
parent54d9cb47dd6a754e434e5adeccb3a1e2835594fd (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/drm/radeon')
-rw-r--r--drivers/gpu/drm/radeon/atombios_dp.c3
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 65c82395c8e..28741d40bf6 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,
/* 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;