radeonsi/vcn: Enable write combine for decode
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32707>
This commit is contained in:
@@ -1784,6 +1784,7 @@ static struct pb_buffer_lean *rvcn_dec_message_decode(struct radeon_decoder *dec
|
||||
decode->dt_luma_bottom_offset = decode->dt_luma_top_offset;
|
||||
decode->dt_chroma_bottom_offset = decode->dt_chroma_top_offset;
|
||||
}
|
||||
decode->mif_wrc_en = sscreen->info.vcn_ip_version >= VCN_3_0_0;
|
||||
if (dec->stream_type == RDECODE_CODEC_AV1)
|
||||
decode->db_pitch_uv = chroma->surface.u.gfx9.surf_pitch * chroma->surface.blk_w;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user