Skip to content

Commit e363250

Browse files
tiwaiairlied
authored andcommitted
drm/radeon/kms: fix the regression of DVI connector check
The check of the encoder type in the commit [e00e8b5: drm/radeon/kms: fix analog load detection on DVI-I connectors] is obviously wrong, and it's the culprit of the regression on my workstation with DVI-analog connection resulting in the blank output. Fixed the typo now. Signed-off-by: Takashi Iwai <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Cc: <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
1 parent b10c6d4 commit e363250

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/radeon/radeon_connectors.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ radeon_dvi_detect(struct drm_connector *connector, bool force)
970970

971971
encoder = obj_to_encoder(obj);
972972

973-
if (encoder->encoder_type != DRM_MODE_ENCODER_DAC ||
973+
if (encoder->encoder_type != DRM_MODE_ENCODER_DAC &&
974974
encoder->encoder_type != DRM_MODE_ENCODER_TVDAC)
975975
continue;
976976

0 commit comments

Comments
 (0)