From 670deaffded7356a69ebc7be0d903c2b67ef08b8 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Wed, 27 Jan 2016 23:42:46 -0500 Subject: [PATCH] drm/radeon: adjust the SX constants for SUMO2 SX sizes are smaller on sumo2. bug: https://bugs.freedesktop.org/show_bug.cgi?id=93895 Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org --- drivers/gpu/drm/radeon/evergreen.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c index 7f33767..11ba685 100644 --- a/drivers/gpu/drm/radeon/evergreen.c +++ b/drivers/gpu/drm/radeon/evergreen.c @@ -3237,9 +3237,9 @@ static void evergreen_gpu_init(struct radeon_device *rdev) rdev->config.evergreen.max_gs_threads = 32; rdev->config.evergreen.max_stack_entries = 512; rdev->config.evergreen.sx_num_of_sets = 4; - 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.sx_max_export_size = 128; + rdev->config.evergreen.sx_max_export_pos_size = 32; + rdev->config.evergreen.sx_max_export_smx_size = 96; rdev->config.evergreen.max_hw_contexts = 4; rdev->config.evergreen.sq_num_cf_insts = 2; -- 2.5.0