From 25a2c9116cb93bde1e2bb5471cd772137efbbb1c Mon Sep 17 00:00:00 2001 From: David Rosca Date: Tue, 24 Jun 2025 14:26:20 +0200 Subject: [PATCH] radeonsi/vcn: Stop forcing OBU frame for first frame on VCN4 This has effect only for first frame, for every other frame it will be overwritten by application preference, which we should honor. Reviewed-by: Ruijing Dong Part-of: --- src/gallium/drivers/radeonsi/radeon_vcn_enc_4_0.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeon_vcn_enc_4_0.c b/src/gallium/drivers/radeonsi/radeon_vcn_enc_4_0.c index 472695c8634..8dfa35c555a 100644 --- a/src/gallium/drivers/radeonsi/radeon_vcn_enc_4_0.c +++ b/src/gallium/drivers/radeonsi/radeon_vcn_enc_4_0.c @@ -124,10 +124,6 @@ static void radeon_enc_spec_misc_av1(struct radeon_encoder *enc) num_of_tiles = num_tiles_cols * num_tiles_rows; - /* in case of multiple tiles, it should be an obu frame */ - if (num_of_tiles > 1) - enc->enc_pic.is_obu_frame = 1; - RADEON_ENC_BEGIN(enc->cmd.spec_misc_av1); RADEON_ENC_CS(enc->enc_pic.av1_spec_misc.palette_mode_enable); RADEON_ENC_CS(enc->enc_pic.av1_spec_misc.mv_precision);