]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/amdgpu: add PSP 14.0.1 support
authorYifan Zhang <yifan1.zhang@amd.com>
Fri, 5 Jan 2024 06:14:35 +0000 (14:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 16 Feb 2024 20:42:15 +0000 (15:42 -0500)
This patch to add PSP 14.0.1 support.

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/psp_v13_0.c

index f0f01eac534a28c3dc8d03db4dfed44d7a0f6411..3c2b1413058bb790c3aa3da792934200a967ec29 100644 (file)
@@ -216,6 +216,7 @@ static int psp_early_init(void *handle)
        case IP_VERSION(13, 0, 8):
        case IP_VERSION(13, 0, 11):
        case IP_VERSION(14, 0, 0):
+       case IP_VERSION(14, 0, 1):
                psp_v13_0_set_psp_funcs(psp);
                psp->boot_time_tmr = false;
                break;
index 0e4329640ecb63f254c9b0415ca0ade3d7f8f295..0da50ea46eafba015734db77c2e0c86f541ed2b8 100644 (file)
@@ -53,6 +53,8 @@ MODULE_FIRMWARE("amdgpu/psp_13_0_6_sos.bin");
 MODULE_FIRMWARE("amdgpu/psp_13_0_6_ta.bin");
 MODULE_FIRMWARE("amdgpu/psp_14_0_0_toc.bin");
 MODULE_FIRMWARE("amdgpu/psp_14_0_0_ta.bin");
+MODULE_FIRMWARE("amdgpu/psp_14_0_1_toc.bin");
+MODULE_FIRMWARE("amdgpu/psp_14_0_1_ta.bin");
 
 /* For large FW files the time to complete can be very long */
 #define USBC_PD_POLLING_LIMIT_S 240
@@ -101,6 +103,7 @@ static int psp_v13_0_init_microcode(struct psp_context *psp)
        case IP_VERSION(13, 0, 8):
        case IP_VERSION(13, 0, 11):
        case IP_VERSION(14, 0, 0):
+       case IP_VERSION(14, 0, 1):
                err = psp_init_toc_microcode(psp, ucode_prefix);
                if (err)
                        return err;