Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23198>
iris_get_aux_clear_color_state_size(screen, res);
}
+ /* The ISL alignment already includes AUX-TT requirements, so no additional
+ * attention required here :)
+ */
uint32_t alignment = MAX2(4096, res->surf.alignment_B);
res->bo =
iris_bo_alloc(screen->bufmgr, name, bo_size, alignment, memzone, flags);