aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
diff options
context:
space:
mode:
authorAhmad Rehman <[email protected]>2025-03-17 04:20:06 +0000
committerAlex Deucher <[email protected]>2025-03-21 16:15:08 +0000
commit0a59fbd5d9a72c56b0dc5695e798859ebeb6c5ac (patch)
tree3aeb49ba044b76290b9c7523372e57bbfc3aefa3 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
parentdrm/amdgpu: Enable amdgpu_ras_resume for gfx 9.5.0 (diff)
downloadkernel-0a59fbd5d9a72c56b0dc5695e798859ebeb6c5ac.tar.gz
kernel-0a59fbd5d9a72c56b0dc5695e798859ebeb6c5ac.zip
drm/amdgpu: Add support to load PSP TA v13.0.12 for SRIOV
Add case for 13.0.12. Signed-off-by: Ahmad Rehman <[email protected]> Reviewed-by: [email protected] Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
index a390ec0b6370..d54bb1377262 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;
}