diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-04-18 17:21:07 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-04-19 17:01:10 +0400 |
commit | e36325071832f1ba96ac54fb8ba1459f08b05dd8 (patch) | |
tree | a08edb9a701651f007c750ab8b1c55ed5d7a6ff7 | |
parent | b10c6d4b50cbbdccce2187c1ccc516a9c7335835 (diff) | |
download | linux-e36325071832f1ba96ac54fb8ba1459f08b05dd8.tar.xz |
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 <tiwai@suse.de>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_connectors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c b/drivers/gpu/drm/radeon/radeon_connectors.c index bd05156edbdb..aa8268dd3cd3 100644 --- a/drivers/gpu/drm/radeon/radeon_connectors.c +++ b/drivers/gpu/drm/radeon/radeon_connectors.c @@ -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; |