Commit 08e27c9d authored by Stanley.Yang's avatar Stanley.Yang Committed by Alex Deucher
Browse files

drm/amdgpu: Add new error code for VCN/JPEG new chain



Add VIDS and JPEG8/9 S|D chain error code for VCN/JPEG v5.0.1.

Signed-off-by: default avatarStanley.Yang <Stanley.Yang@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent b1b29aa8
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1016,8 +1016,9 @@ static int jpeg_v5_0_1_aca_bank_parser(struct aca_handle *handle, struct aca_ban

/* reference to smu driver if header file */
static int jpeg_v5_0_1_err_codes[] = {
	16, 17, 18, 19, 20, 21, 22, 23, /* JPEG[0-7][S|D] */
	24, 25, 26, 27, 28, 29, 30, 31
	16, 17, 18, 19, 20, 21, 22, 23, /* JPEG[0-9][S|D] */
	24, 25, 26, 27, 28, 29, 30, 31,
	48, 49, 50, 51,
};

static bool jpeg_v5_0_1_aca_bank_is_valid(struct aca_handle *handle, struct aca_bank *bank,
+1 −1
Original line number Diff line number Diff line
@@ -1562,7 +1562,7 @@ static int vcn_v5_0_1_aca_bank_parser(struct aca_handle *handle, struct aca_bank

/* reference to smu driver if header file */
static int vcn_v5_0_1_err_codes[] = {
	14, 15, /* VCN */
	14, 15, 47, /* VCN [D|V|S] */
};

static bool vcn_v5_0_1_aca_bank_is_valid(struct aca_handle *handle, struct aca_bank *bank,