From: Hawking Zhang Date: Fri, 21 Aug 2020 14:09:06 +0000 (+0800) Subject: drm/amdgpu: initialize ta firmware for aldebaran X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fbaa30d87fd8e5515adc4c5d502dc4aebbbd7670;p=linux.git drm/amdgpu: initialize ta firmware for aldebaran only xgmi ta is supported at this stage Signed-off-by: Hawking Zhang Reviewed-by: Kevin Wang Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v13_0.c b/drivers/gpu/drm/amd/amdgpu/psp_v13_0.c index 4beee092acf1e..fcdce46445d60 100644 --- a/drivers/gpu/drm/amd/amdgpu/psp_v13_0.c +++ b/drivers/gpu/drm/amd/amdgpu/psp_v13_0.c @@ -30,6 +30,7 @@ #include "mp/mp_13_0_2_sh_mask.h" MODULE_FIRMWARE("amdgpu/aldebaran_sos.bin"); +MODULE_FIRMWARE("amdgpu/aldebaran_ta.bin"); static int psp_v13_0_init_microcode(struct psp_context *psp) { @@ -46,6 +47,10 @@ static int psp_v13_0_init_microcode(struct psp_context *psp) } err = psp_init_sos_microcode(psp, chip_name); + if (err) + return err; + + err = psp_init_ta_microcode(&adev->psp, chip_name); return err; }