summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwojciech kapuscinski <wojtask9@wp.pl>2013-10-02 03:54:33 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-22 11:41:44 +0400
commitf11d481f8f81dec26d3370bcf8f4c1f2d53ccefc (patch)
treed059415ce3bcf96d9821de0fa5252a4ed7325710
parent826380d59f09185201d4327121f4919d2914a2cc (diff)
downloadlinux-sunxi-f11d481f8f81dec26d3370bcf8f4c1f2d53ccefc.tar.xz
drm/radeon: fix hw contexts for SUMO2 asics
commit 50b8f5aec04ebec7dbdf2adb17220b9148c99e63 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-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 eecd3dc17664..87ff58648915 100644
--- a/drivers/gpu/drm/radeon/evergreen.c
+++ b/drivers/gpu/drm/radeon/evergreen.c
@@ -1749,7 +1749,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;