From 3ea6ed8780a32509f1800c1195c5488fe182d3d9 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Mon, 16 Dec 2024 12:35:29 +0100 Subject: [PATCH] radeonsi/vcn: Enable write combine for decode Reviewed-by: Ruijing Dong Part-of: --- src/gallium/drivers/radeonsi/radeon_vcn_dec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/radeonsi/radeon_vcn_dec.c b/src/gallium/drivers/radeonsi/radeon_vcn_dec.c index 86ab24fade5..0e736e8a339 100644 --- a/src/gallium/drivers/radeonsi/radeon_vcn_dec.c +++ b/src/gallium/drivers/radeonsi/radeon_vcn_dec.c @@ -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;