drm/radeon/kms: fix incorrect logic in DP vs eDP connector checking.
Subsystems (2)
Dave Airlie
maintainerPATCH 1/1 drm/radeon/kms: fix incorrect logic in DP vs eDP connector checking.
From: Dave Airlie <[email protected]>
This makes displayport work again here.
Signed-off-by Dave Airlie <[email protected]>
--- drivers/gpu/drm/radeon/atombios_dp.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/radeon/atombios_dp.c +2 -2
@@ -468,7 +468,7 @@ void radeon_dp_set_link_config(struct drm_connector *connector,struct radeon_connector *radeon_connector;struct radeon_connector_atom_dig *dig_connector; -if ((connector->connector_type != DRM_MODE_CONNECTOR_DisplayPort) || +if ((connector->connector_type != DRM_MODE_CONNECTOR_DisplayPort) && (connector->connector_type != DRM_MODE_CONNECTOR_eDP))return ;
@@ -583,7 +583,7 @@ void dp_link_train(struct drm_encoder *encoder,u8 train_set[4 ];int i; -if ((connector->connector_type != DRM_MODE_CONNECTOR_DisplayPort) || +if ((connector->connector_type != DRM_MODE_CONNECTOR_DisplayPort) && (connector->connector_type != DRM_MODE_CONNECTOR_eDP))return ;
Signature · 10 lines
1.6.5.2 ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com --