radv: enable GE_CNTL.DIS_PG_SIZE_ADJUST_FOR_STRIP on GFX12

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29417>
This commit is contained in:
Samuel Pitoiset
2024-05-27 10:53:51 +02:00
committed by Marge Bot
parent 2ac7154189
commit 45b6b0cafb

View File

@@ -1582,7 +1582,8 @@ radv_precompute_registers_hw_ngg(struct radv_device *device, const struct ac_sha
if (pdev->info.gfx_level >= GFX11) {
info->regs.ngg.ge_cntl = S_03096C_PRIMS_PER_SUBGRP(info->ngg_info.max_gsprims) |
S_03096C_VERTS_PER_SUBGRP(info->ngg_info.hw_max_esverts) |
S_03096C_PRIM_GRP_SIZE_GFX11(252);
S_03096C_PRIM_GRP_SIZE_GFX11(252) |
S_03096C_DIS_PG_SIZE_ADJUST_FOR_STRIP(pdev->info.gfx_level >= GFX12);
} else {
info->regs.ngg.ge_cntl = S_03096C_PRIM_GRP_SIZE_GFX10(info->ngg_info.max_gsprims) |
S_03096C_VERT_GRP_SIZE(info->ngg_info.hw_max_esverts);