summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorwojciech kapuscinski <wojtask9@wp.pl>2013-10-01 23:54:33 (GMT)
committerAlex Deucher <alexander.deucher@amd.com>2013-10-09 21:13:46 (GMT)
commit50b8f5aec04ebec7dbdf2adb17220b9148c99e63 (patch)
tree7023ae95ef52f4b3e37c3f11443c2d0e75e5dd40 /drivers/gpu
parentaa3e146d04b6ae37939daeebaec060562b3db559 (diff)
downloadlinux-50b8f5aec04ebec7dbdf2adb17220b9148c99e63.tar.xz
drm/radeon: fix hw contexts for SUMO2 asics
They have 4 rather than 8. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=63599 Signed-off-by: wojciech kapuscinski <wojtask9@wp.pl> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/radeon/evergreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c
index 555164e..b5c67a9 100644
--- a/drivers/gpu/drm/radeon/evergreen.c
+++ b/drivers/gpu/drm/radeon/evergreen.c
@@ -3131,7 +3131,7 @@ static void evergreen_gpu_init(struct radeon_device *rdev)
rdev->config.evergreen.sx_max_export_size = 256;
rdev->config.evergreen.sx_max_export_pos_size = 64;
rdev->config.evergreen.sx_max_export_smx_size = 192;
- rdev->config.evergreen.max_hw_contexts = 8;
+ rdev->config.evergreen.max_hw_contexts = 4;
rdev->config.evergreen.sq_num_cf_insts = 2;
rdev->config.evergreen.sc_prim_fifo_size = 0x40;