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 <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35712>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user