Skip to content

Commit ed5a448

Browse files
Likun Gaoalexdeucher
authored andcommitted
drm/amdgpu: init TA fw for psp v14
Add support to init TA firmware for psp v14. Signed-off-by: Likun Gao <Likun.Gao@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent e356d32 commit ed5a448

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/gpu/drm/amd/amdgpu/psp_v14_0.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232
#include "mp/mp_14_0_2_sh_mask.h"
3333

3434
MODULE_FIRMWARE("amdgpu/psp_14_0_2_sos.bin");
35+
MODULE_FIRMWARE("amdgpu/psp_14_0_2_ta.bin");
3536
MODULE_FIRMWARE("amdgpu/psp_14_0_3_sos.bin");
37+
MODULE_FIRMWARE("amdgpu/psp_14_0_3_ta.bin");
3638

3739
/* For large FW files the time to complete can be very long */
3840
#define USBC_PD_POLLING_LIMIT_S 240
@@ -64,6 +66,9 @@ static int psp_v14_0_init_microcode(struct psp_context *psp)
6466
case IP_VERSION(14, 0, 2):
6567
case IP_VERSION(14, 0, 3):
6668
err = psp_init_sos_microcode(psp, ucode_prefix);
69+
if (err)
70+
return err;
71+
err = psp_init_ta_microcode(psp, ucode_prefix);
6772
if (err)
6873
return err;
6974
break;

0 commit comments

Comments
 (0)