Skip to content

Commit 14b2760

Browse files
Li Maalexdeucher
authored andcommitted
drm/amdgpu: add PSP 14.0.0 support
Uses same driver interface as 13.0. Signed-off-by: Li Ma <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent c5ee872 commit 14b2760

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ static int psp_early_init(void *handle)
202202
case IP_VERSION(13, 0, 5):
203203
case IP_VERSION(13, 0, 8):
204204
case IP_VERSION(13, 0, 11):
205+
case IP_VERSION(14, 0, 0):
205206
psp_v13_0_set_psp_funcs(psp);
206207
psp->autoload_supported = true;
207208
break;

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ MODULE_FIRMWARE("amdgpu/psp_13_0_11_toc.bin");
5050
MODULE_FIRMWARE("amdgpu/psp_13_0_11_ta.bin");
5151
MODULE_FIRMWARE("amdgpu/psp_13_0_6_sos.bin");
5252
MODULE_FIRMWARE("amdgpu/psp_13_0_6_ta.bin");
53+
MODULE_FIRMWARE("amdgpu/psp_14_0_0_toc.bin");
54+
MODULE_FIRMWARE("amdgpu/psp_14_0_0_ta.bin");
5355

5456
/* For large FW files the time to complete can be very long */
5557
#define USBC_PD_POLLING_LIMIT_S 240
@@ -94,6 +96,7 @@ static int psp_v13_0_init_microcode(struct psp_context *psp)
9496
case IP_VERSION(13, 0, 5):
9597
case IP_VERSION(13, 0, 8):
9698
case IP_VERSION(13, 0, 11):
99+
case IP_VERSION(14, 0, 0):
97100
err = psp_init_toc_microcode(psp, ucode_prefix);
98101
if (err)
99102
return err;

0 commit comments

Comments
 (0)