drm/amd/amdgpu: add rlc_firmware_header_v2_4 to amdgpu_firmware_header
authorChengming Gui <Jack.Gui@amd.com>
Tue, 6 Sep 2022 01:26:37 +0000 (09:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 8 Sep 2022 02:48:35 +0000 (22:48 -0400)
Add missing structure to avoid incorrect size and version check.

Signed-off-by: Chengming Gui <Jack.Gui@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h

index ebed3f5..96b6cf4 100644 (file)
@@ -390,6 +390,7 @@ union amdgpu_firmware_header {
        struct rlc_firmware_header_v2_1 rlc_v2_1;
        struct rlc_firmware_header_v2_2 rlc_v2_2;
        struct rlc_firmware_header_v2_3 rlc_v2_3;
+       struct rlc_firmware_header_v2_4 rlc_v2_4;
        struct sdma_firmware_header_v1_0 sdma;
        struct sdma_firmware_header_v1_1 sdma_v1_1;
        struct sdma_firmware_header_v2_0 sdma_v2_0;