diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-06-16 16:06:17 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-06-17 01:28:11 +0200 |
commit | 11b0a5b89adbfaf4e7d31f2482f49471dd983692 (patch) | |
tree | 116229a854050e49f79a6b890c5803282280179d /drivers/gpu/drm/radeon/radeon_encoders.c | |
parent | drm/radeon/kms/atom: AdjustPixelClock fixes for DP bridges (diff) | |
download | linux-11b0a5b89adbfaf4e7d31f2482f49471dd983692.tar.xz linux-11b0a5b89adbfaf4e7d31f2482f49471dd983692.zip |
drm/radeon/kms: set DP link config properly for DP bridges
DP clock and lanes were not set properly for DP bridges.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_encoders.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_encoders.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_encoders.c b/drivers/gpu/drm/radeon/radeon_encoders.c index aa2450ba0ff8..f55b64cb59d1 100644 --- a/drivers/gpu/drm/radeon/radeon_encoders.c +++ b/drivers/gpu/drm/radeon/radeon_encoders.c @@ -367,7 +367,8 @@ static bool radeon_atom_mode_fixup(struct drm_encoder *encoder, } if (ASIC_IS_DCE3(rdev) && - (radeon_encoder->active_device & (ATOM_DEVICE_DFP_SUPPORT | ATOM_DEVICE_LCD_SUPPORT))) { + ((radeon_encoder->active_device & (ATOM_DEVICE_DFP_SUPPORT | ATOM_DEVICE_LCD_SUPPORT)) || + radeon_encoder_is_dp_bridge(encoder))) { struct drm_connector *connector = radeon_get_connector_for_encoder(encoder); radeon_dp_set_link_config(connector, mode); } |