Skip to content

Commit

Permalink
drm/radeon/kms: fix the regression of DVI connector check
Browse files Browse the repository at this point in the history
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 <tiwai@suse.de>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Takashi Iwai authored and Dave Airlie committed Apr 19, 2012
1 parent b10c6d4 commit e363250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/radeon/radeon_connectors.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit e363250

Please sign in to comment.