amd: update late_alloc_wave64 for gfx11

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21041>
This commit is contained in:
Marek Olšák 2023-01-25 04:40:38 -05:00 committed by Marge Bot
parent 76e3437c1e
commit 8d9e18974f

View file

@ -788,6 +788,8 @@ void ac_compute_late_alloc(const struct radeon_info *info, bool ngg, bool ngg_cu
*/
if (ngg_culling)
*late_alloc_wave64 = info->min_good_cu_per_sa * 10;
else if (info->gfx_level >= GFX11)
*late_alloc_wave64 = 63;
else
*late_alloc_wave64 = info->min_good_cu_per_sa * 4;