radeonsi/gfx11: increase the hw screen offset alignment

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16328>
This commit is contained in:
Marek Olšák 2020-11-11 14:37:00 -05:00 committed by Marge Bot
parent 273674dde1
commit 0f033ce3a3

View file

@ -290,6 +290,7 @@ static void si_emit_guardband(struct si_context *ctx)
/* GFX6-GFX7 need to align the offset to an ubertile consisting of all SEs. */
const unsigned hw_screen_offset_alignment =
ctx->chip_class >= GFX11 ? 32 :
ctx->chip_class >= GFX8 ? 16 : MAX2(ctx->screen->se_tile_repeat, 16);
/* Indexed by quantization modes */