mirror of
https://github.com/torvalds/linux
synced 2024-10-15 07:47:34 +00:00
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>
This commit is contained in:
parent
e356d321d0
commit
ed5a4484f0
|
@ -32,7 +32,9 @@
|
||||||
#include "mp/mp_14_0_2_sh_mask.h"
|
#include "mp/mp_14_0_2_sh_mask.h"
|
||||||
|
|
||||||
MODULE_FIRMWARE("amdgpu/psp_14_0_2_sos.bin");
|
MODULE_FIRMWARE("amdgpu/psp_14_0_2_sos.bin");
|
||||||
|
MODULE_FIRMWARE("amdgpu/psp_14_0_2_ta.bin");
|
||||||
MODULE_FIRMWARE("amdgpu/psp_14_0_3_sos.bin");
|
MODULE_FIRMWARE("amdgpu/psp_14_0_3_sos.bin");
|
||||||
|
MODULE_FIRMWARE("amdgpu/psp_14_0_3_ta.bin");
|
||||||
|
|
||||||
/* For large FW files the time to complete can be very long */
|
/* For large FW files the time to complete can be very long */
|
||||||
#define USBC_PD_POLLING_LIMIT_S 240
|
#define USBC_PD_POLLING_LIMIT_S 240
|
||||||
|
@ -64,6 +66,9 @@ static int psp_v14_0_init_microcode(struct psp_context *psp)
|
||||||
case IP_VERSION(14, 0, 2):
|
case IP_VERSION(14, 0, 2):
|
||||||
case IP_VERSION(14, 0, 3):
|
case IP_VERSION(14, 0, 3):
|
||||||
err = psp_init_sos_microcode(psp, ucode_prefix);
|
err = psp_init_sos_microcode(psp, ucode_prefix);
|
||||||
|
if (err)
|
||||||
|
return err;
|
||||||
|
err = psp_init_ta_microcode(psp, ucode_prefix);
|
||||||
if (err)
|
if (err)
|
||||||
return err;
|
return err;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue