drm/radeon/kms: fix analog load detection on DVI-I connectors
We digital encoders have a detect function as well (for DP to VGA bridges), so we make sure we choose the analog one here. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=47007 Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
25d0479a59
commit
e00e8b5e76
1 changed files with 4 additions and 0 deletions
|
@ -946,6 +946,10 @@ radeon_dvi_detect(struct drm_connector *connector, bool force)
|
|||
|
||||
encoder = obj_to_encoder(obj);
|
||||
|
||||
if (encoder->encoder_type != DRM_MODE_ENCODER_DAC ||
|
||||
encoder->encoder_type != DRM_MODE_ENCODER_TVDAC)
|
||||
continue;
|
||||
|
||||
encoder_funcs = encoder->helper_private;
|
||||
if (encoder_funcs->detect) {
|
||||
if (ret != connector_status_connected) {
|
||||
|
|
Loading…
Reference in a new issue