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:24:21 +0000 (12:24 -0800)
commit0ecae1fe908d341454e1bd33fe4462d8ffad53b2
treebf0fa400ec8a1ab7e8ec96d3562fc6f7297faea9
parenta6443066fcb7cf9ae9e0740cfaff6f615affca5c
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