drm/radeon: fix XFX quirk
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 23 May 2012 15:48:59 +0000 (11:48 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 29 May 2012 10:08:19 +0000 (11:08 +0100)
commit1ebf169ad4dc68f18cc0dab35163b0f324fc6c41
tree81975c409477de48aa2ee152255e06b4b43c0538
parent592c20ee45a1f99b59817216c766684d95cca77b
drm/radeon: fix XFX quirk

Only override the ddc bus if the connector doesn't have
a valid one.  The existing code overrode the ddc bus for
all connectors even if it had ddc bus.

Fixes ddc on another XFX card with the same pci ids that
was broken by the quirk overwriting the correct ddc bus.

Reported-by: Mehdi Aqadjani Memar <m.aqadjanimemar@student.ru.nl>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_atombios.c