OSDN Git Service

drm/radeon/kms/atom: fix duallink on some early DCE3.2 cards
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 17 Jun 2011 17:13:52 +0000 (13:13 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 9 Jul 2011 06:15:00 +0000 (23:15 -0700)
commitb6136efc2e61ec8d731b5e9c898b9b7b2e551b01
tree67367040b4876bfedce30708ee3b02ddc7f7b45d
parent699ea72e02ecd0fc22e9059b04082ef613f92126
drm/radeon/kms/atom: fix duallink on some early DCE3.2 cards

commit 8323fa6ba313ae2664420ec34d56a7fb0bbbe525 upstream.

Certain revisions of the vbios on DCE3.2 cards have a bug
in the transmitter control table which prevents duallink from
being enabled properly on some cards.  The action switch statement
jumps to the wrong offset for the OUTPUT_ENABLE action.  The fix
is to use the ENABLE action rather than the OUTPUT_ENABLE action
on the affected cards.  In fixed version of the vbios, both
actions jump to the same offset, so the change should be safe.

Reported-and-tested-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/radeon/radeon_encoders.c