]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/atom: workaround vbios bug in transmitter table on rs880 (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Sep 2013 14:54:22 +0000 (10:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Sep 2013 15:44:35 +0000 (11:44 -0400)
commitc94327a3c5db6306a66a67f6d7837276ca0b2c16
treebec808a35450c73f4ac38994e927522b9a1221eb
parent9ac5c510568952a5a62894819ca1c52ae671165b
drm/radeon/atom: workaround vbios bug in transmitter table on rs880 (v2)

The OUTPUT_ENABLE action jumps past the point in the coder where
the data_offset is set on certain rs780 cards.  This worked
previously because the OUTPUT_ENABLE action is always called
immediately after the ENABLE action so the data_offset remained
set.  In 6f8bbaf568c7f2c497558bfd04654c0b9841ad57
(drm/radeon/atom: initialize more atom interpretor elements to 0),
we explictly reset data_offset to 0 between atom calls which then
caused this to fail.  The fix is to just skip calling the
OUTPUT_ENABLE action on the problematic chipsets.  The ENABLE
action does the same thing and more.  Ultimately, we could
probably drop the OUTPUT_ENABLE action all together on DCE3
asics.

fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=60791

v2: only rs880 seems to be affected

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/atombios_encoders.c