radeonsi/vcn: Bump enc FW interface version for VCN3 and VCN4

This is needed to enable QVBR support. Also adjust to changes in
spec_misc_av1.

Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30221>
This commit is contained in:
David Rosca
2024-07-17 08:49:25 +02:00
committed by Marge Bot
parent e539f8ef5f
commit ae293d176b
2 changed files with 4 additions and 2 deletions

View File

@@ -17,7 +17,7 @@
#include "radeon_vcn_enc.h"
#define RENCODE_FW_INTERFACE_MAJOR_VERSION 1
#define RENCODE_FW_INTERFACE_MINOR_VERSION 20
#define RENCODE_FW_INTERFACE_MINOR_VERSION 30
static void radeon_enc_session_info(struct radeon_encoder *enc)
{

View File

@@ -14,7 +14,7 @@
#include "radeon_vcn_enc.h"
#define RENCODE_FW_INTERFACE_MAJOR_VERSION 1
#define RENCODE_FW_INTERFACE_MINOR_VERSION 11
#define RENCODE_FW_INTERFACE_MINOR_VERSION 15
#define RENCODE_IB_PARAM_CDF_DEFAULT_TABLE_BUFFER 0x00000019
#define RENCODE_IB_PARAM_ENCODE_STATISTICS 0x0000001a
@@ -518,6 +518,8 @@ static void radeon_enc_spec_misc_av1(struct radeon_encoder *enc)
RADEON_ENC_CS(enc->enc_pic.av1_spec_misc.disable_cdf_update);
RADEON_ENC_CS(enc->enc_pic.av1_spec_misc.disable_frame_end_update_cdf);
RADEON_ENC_CS(num_of_tiles);
RADEON_ENC_CS(0);
RADEON_ENC_CS(0);
RADEON_ENC_CS(0xFFFFFFFF);
RADEON_ENC_CS(0xFFFFFFFF);
RADEON_ENC_END();