radeonsi/vcn: Stop forcing OBU frame for first frame on VCN4
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

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:
David Rosca 2025-06-24 14:26:20 +02:00 committed by Marge Bot
parent 7b291a33d4
commit 25a2c9116c

View file

@ -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);