diff options
-rw-r--r-- | drivers/gpu/drm/radeon/evergreen.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c index 864e853cc0ec..34cd5a878088 100644 --- a/drivers/gpu/drm/radeon/evergreen.c +++ b/drivers/gpu/drm/radeon/evergreen.c | |||
@@ -1933,8 +1933,12 @@ static void evergreen_gpu_init(struct radeon_device *rdev) | |||
1933 | rdev->config.evergreen.tile_config |= (3 << 0); | 1933 | rdev->config.evergreen.tile_config |= (3 << 0); |
1934 | break; | 1934 | break; |
1935 | } | 1935 | } |
1936 | rdev->config.evergreen.tile_config |= | 1936 | /* num banks is 8 on all fusion asics */ |
1937 | ((mc_arb_ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT) << 4; | 1937 | if (rdev->flags & RADEON_IS_IGP) |
1938 | rdev->config.evergreen.tile_config |= 8 << 4; | ||
1939 | else | ||
1940 | rdev->config.evergreen.tile_config |= | ||
1941 | ((mc_arb_ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT) << 4; | ||
1938 | rdev->config.evergreen.tile_config |= | 1942 | rdev->config.evergreen.tile_config |= |
1939 | ((mc_arb_ramcfg & BURSTLENGTH_MASK) >> BURSTLENGTH_SHIFT) << 8; | 1943 | ((mc_arb_ramcfg & BURSTLENGTH_MASK) >> BURSTLENGTH_SHIFT) << 8; |
1940 | rdev->config.evergreen.tile_config |= | 1944 | rdev->config.evergreen.tile_config |= |