diff --git a/src/amd/vulkan/radv_video.c b/src/amd/vulkan/radv_video.c index 46abd985b9e..57ce95bd724 100644 --- a/src/amd/vulkan/radv_video.c +++ b/src/amd/vulkan/radv_video.c @@ -2658,6 +2658,8 @@ rvcn_dec_message_decode(struct radv_cmd_buffer *cmd_buffer, struct radv_video_se decode->dt_luma_bottom_offset = decode->dt_luma_top_offset; decode->dt_chroma_bottom_offset = decode->dt_chroma_top_offset; + decode->mif_wrc_en = pdev->info.vcn_ip_version >= VCN_3_0_0; + if (vid->stream_type == RDECODE_CODEC_AV1) decode->db_pitch_uv = chroma->surface.u.gfx9.surf_pitch * chroma->surface.blk_w;