[AMD Official Use Only - AMD Internal Distribution Only]

Signed-off-by: Ahmad Rehman <ahreh...@amd.com>
---

Reviewed-By: vignesh.chan...@amd.com

-----Original Message-----
From: Rehman, Ahmad <ahmad.reh...@amd.com>
Sent: Monday, March 17, 2025 12:31 AM
To: amd-gfx@lists.freedesktop.org
Cc: Rehman, Ahmad <ahmad.reh...@amd.com>
Subject: [PATCH] drm/amdgpu: Add support to load PSP TA v13.0.12 for SRIOV

Signed-off-by: Ahmad Rehman <ahreh...@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
index 79dad75bd0e7..04a186d0c236 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
@@ -153,6 +153,9 @@ static int psp_init_sriov_microcode(struct psp_context *psp)
                adev->virt.autoload_ucode_id = AMDGPU_UCODE_ID_CP_MES1_DATA;
                ret = psp_init_cap_microcode(psp, ucode_prefix);
                break;
+       case IP_VERSION(13, 0, 12):
+               ret = psp_init_ta_microcode(psp, ucode_prefix);
+               break;
        default:
                return -EINVAL;
        }
--
2.34.1

Reply via email to