drm/radeon/kms: bail early in dvi_detect for digital only connectors
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Oct 2011 18:23:47 +0000 (14:23 -0400)
committerDave Airlie <airlied@redhat.com>
Mon, 10 Oct 2011 08:04:10 +0000 (09:04 +0100)
commit5f0a26128d66ef81613fe923d5c288942844ccdc
treebe54285714646deb94dd8dd6942945b3a1ea7040
parent286e0c94f9c3f292cb38a977fbbde3433347a868
drm/radeon/kms: bail early in dvi_detect for digital only connectors

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>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_connectors.c