radv/video: Enable write combine for decode
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Reviewed-by: David Rosca <david.rosca@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39025>
This commit is contained in:
Benjamin Cheng 2025-12-18 14:18:40 -05:00
parent 4315c28739
commit fa8b0b6bbb

View file

@ -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_luma_bottom_offset = decode->dt_luma_top_offset;
decode->dt_chroma_bottom_offset = decode->dt_chroma_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) if (vid->stream_type == RDECODE_CODEC_AV1)
decode->db_pitch_uv = chroma->surface.u.gfx9.surf_pitch * chroma->surface.blk_w; decode->db_pitch_uv = chroma->surface.u.gfx9.surf_pitch * chroma->surface.blk_w;