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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user