drm/radeon/kms: bail early in dvi_detect for digital only connectors
commite5edf277645a096ccdca1fe6b8ea31831c89b04a
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Oct 2011 18:23:47 +0000 (7 14:23 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:42:25 +0000 (11 09:42 -0800)
tree7c9edb52d8b3d369f3ee6f8077d3a3d7d4b664af
parent2350d1616e7e2e5b1075a0e3ebcf9933d09b7b5d
drm/radeon/kms: bail early in dvi_detect for digital only connectors

commit 5f0a26128d66ef81613fe923d5c288942844ccdc upstream.

DVI-D and HDMI-A are digital only, so there's no need to
attempt analog load detect.  Also, skip bail before the
!force check, or we fail to get a disconnect events.
The next patches in the series attempt to fix disconnect
events for connectors with analog support (DVI-I, HDMI-B,
DVI-A).

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=41561

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/radeon/radeon_connectors.c