amd: change pbb_max_alloc_count for gfx11

based on PAL

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:39:03 -05:00 committed by Marge Bot
parent bfc37e7c63
commit 2cdb6be86c

View file

@ -1239,7 +1239,7 @@ bool ac_query_gpu_info(int fd, void *dev_p, struct radeon_info *info)
if (info->gfx_level >= GFX11) {
info->pc_lines = 1024;
info->pbb_max_alloc_count = 255; /* minimum is 2, maximum is 256 */
info->pbb_max_alloc_count = 16; /* minimum is 2, maximum is 256 */
} else if (info->gfx_level >= GFX9 && info->has_graphics) {
unsigned pc_lines = 0;