mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 00:50:10 +01:00
radv/video: Enable write combine for decode
Reviewed-by: David Rosca <david.rosca@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39025>
This commit is contained in:
parent
4315c28739
commit
fa8b0b6bbb
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue