mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
drm/radeon/kms: fix the regression of DVI connector check
The check of the encoder type in the commit [e00e8b5e: 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]>
This commit is contained in:
parent
b10c6d4b50
commit
e363250718
1 changed files with 1 additions and 1 deletions
|
|
@ -970,7 +970,7 @@ radeon_dvi_detect(struct drm_connector *connector, bool force)
|
|||
|
||||
encoder = obj_to_encoder(obj);
|
||||
|
||||
if (encoder->encoder_type != DRM_MODE_ENCODER_DAC ||
|
||||
if (encoder->encoder_type != DRM_MODE_ENCODER_DAC &&
|
||||
encoder->encoder_type != DRM_MODE_ENCODER_TVDAC)
|
||||
continue;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue