drm/radeon: Fix sideport problems on certain RS690 boards
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Dec 2013 23:15:51 +0000 (18:15 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2014 20:25:10 +0000 (12:25 -0800)
commit866b62d1300d94da98a25792399930fdabc4a8a9
tree37fed9f38865f94c46d83a701087b1141789a60d
parent36abf88c17b1dec10590f7accb66b3d72a6df214
drm/radeon: Fix sideport problems on certain RS690 boards

commit 8333f0fe133be420ce3fcddfd568c3a559ab274e upstream.

Some RS690 boards with 64MB of sideport memory show up as
having 128MB sideport + 256MB of UMA.  In this case,
just skip the sideport memory and use UMA.  This fixes
rendering corruption and should improve performance.

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=35457

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/rs690.c