let addrlib make the right choice
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17864>
/* TODO: We could allow some of these: */
sin.forbiddenBlock.micro = 1; /* don't allow the 256B swizzle modes */
- if (info->gfx_level >= GFX11) {
- if ((1 << G_0098F8_NUM_PIPES(info->gb_addr_config)) <= 16) {
- sin.forbiddenBlock.gfx11.thin256KB = 1;
- sin.forbiddenBlock.gfx11.thick256KB = 1;
- }
- } else {
+ if (info->gfx_level < GFX11)
sin.forbiddenBlock.var = 1; /* don't allow the variable-sized swizzle modes */
- }
sin.bpp = in->bpp;
sin.width = in->width;