anv: Fix tiling for AV1 IntraBC surface on Gfx125+

Fixes: 3c7a834e ("anv: Add support for AV1 video decoding on Gfx125 and Xe2")

Reviewed-by: Hyunjun Ko <zzoon@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37352>
This commit is contained in:
Calder Young
2025-09-12 20:58:56 -07:00
committed by Marge Bot
parent 81f3a5a035
commit a6b11b58d9

View File

@@ -1559,6 +1559,9 @@ anv_av1_decode_video_tile(struct anv_cmd_buffer *cmd_buffer,
buf.IntraBCDecodedOutputFrameBufferAddressAttributes = (struct GENX(MEMORYADDRESSATTRIBUTES)) {
.MOCS = anv_mocs(cmd_buffer->device, buf.IntraBCDecodedOutputFrameBufferAddress.bo, 0),
#if GFX_VERx10 >= 125
.TiledResourceMode = TRMODE_TILEF,
#endif
};
if (use_internal_cache_mem) {