drm/radeon: fix bank information in tiling config
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 31 May 2012 22:53:36 +0000 (18:53 -0400)
committerDave Airlie <airlied@redhat.com>
Fri, 1 Jun 2012 14:36:31 +0000 (15:36 +0100)
commit29d654067a98c1cb8874c774e5fd799a038af8a6
treecaf59daf243217689b78d4086c74ace5bb2a23c2
parent08ef8e41a6f420c3c0998b50d478e0b2c267a226
drm/radeon: fix bank information in tiling config

While there are cards with more than 8 mem banks, the max
number of banks from a tiling perspective is 8, so cap
the tiling config at 8 banks.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=43448

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/ni.c
drivers/gpu/drm/radeon/rv770.c