mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 22:50:08 +01:00
ac/gpu_info: adjust the condition for use_late_alloc
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11509>
This commit is contained in:
parent
ff42fd1fdf
commit
86355b5984
1 changed files with 1 additions and 1 deletions
|
|
@ -1051,7 +1051,7 @@ bool ac_query_gpu_info(int fd, void *dev_p, struct radeon_info *info,
|
|||
info->num_physical_sgprs_per_simd = 128 * info->max_wave64_per_simd;
|
||||
info->min_sgpr_alloc = 128;
|
||||
info->sgpr_alloc_granularity = 128;
|
||||
info->use_late_alloc = true; /* APUs benefit too. */
|
||||
info->use_late_alloc = info->min_good_cu_per_sa > 2;
|
||||
} else if (info->chip_class >= GFX8) {
|
||||
info->num_physical_sgprs_per_simd = 800;
|
||||
info->min_sgpr_alloc = 16;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue