drm/radeon: fix amd afusion gpu setup aka sumo v2
authorJerome Glisse <jglisse@redhat.com>
Tue, 11 Dec 2012 16:56:52 +0000 (11:56 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Dec 2012 19:34:07 +0000 (14:34 -0500)
commitbd25f0783dc3fb72e1e2779c2b99b2d34b67fa8a
treec96f191b76d850e51cefbdf1c34b8f5a67522306
parentd025e9e2b890db679f1246037bf65bd4be512627
drm/radeon: fix amd afusion gpu setup aka sumo v2

Set the proper number of tile pipe that should be a multiple of
pipe depending on the number of se engine.

Fix:
https://bugs.freedesktop.org/show_bug.cgi?id=56405
https://bugs.freedesktop.org/show_bug.cgi?id=56720

v2: Don't change sumo2

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Cc: stable@vger.kernel.org
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/evergreend.h