radeonsi: increase the max compute LDS size to 64KB for gfx7+

Reviewed-by: Mihai Preda <mhpreda@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16901>
This commit is contained in:
Marek Olšák
2022-06-05 21:45:43 -04:00
committed by Marge Bot
parent 0fbcaa4b3a
commit ecda7be628

View File

@@ -869,7 +869,10 @@ static int si_get_compute_param(struct pipe_screen *screen, enum pipe_shader_ir
if (ret) {
uint64_t *max_local_size = ret;
/* Value reported by the closed source driver. */
*max_local_size = 32768;
if (sscreen->info.gfx_level == GFX6)
*max_local_size = 32 * 1024;
else
*max_local_size = 64 * 1024;
}
return sizeof(uint64_t);