diff options
author | Dave Airlie <airlied@redhat.com> | 2009-11-26 08:55:18 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-12-08 10:22:46 +1000 |
commit | 5fbfce7fc906c4a9e3d5e0872e5d6affaca54761 (patch) | |
tree | b6dd08f08dc8121f71e0b5a57911737fcfd6ad51 | |
parent | 54d9cb47dd6a754e434e5adeccb3a1e2835594fd (diff) | |
download | op-kernel-dev-5fbfce7fc906c4a9e3d5e0872e5d6affaca54761.zip op-kernel-dev-5fbfce7fc906c4a9e3d5e0872e5d6affaca54761.tar.gz |
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>
-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 65c8239..28741d4 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; |