On 29-Oct-26 6:16 PM, Asad Kamal wrote:
Add sos reload support when new sos is detected from already
running sos for 13.0.12 & 13.0.15.
Signed-off-by: Asad Kamal <[email protected]>
Reviewed-by: Lijo Lazar <[email protected]>
Thanks,
Lijo
---
drivers/gpu/drm/amd/amdgpu/psp_v13_0.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v13_0.c
b/drivers/gpu/drm/amd/amdgpu/psp_v13_0.c
index f9a3fbfc0634..2169cbc21811 100644
--- a/drivers/gpu/drm/amd/amdgpu/psp_v13_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/psp_v13_0.c
@@ -915,7 +915,9 @@ static bool psp_v13_0_is_reload_needed(struct psp_context
*psp)
switch (amdgpu_ip_version(psp->adev, MP0_HWIP, 0)) {
case IP_VERSION(13, 0, 2):
case IP_VERSION(13, 0, 6):
+ case IP_VERSION(13, 0, 12):
case IP_VERSION(13, 0, 14):
+ case IP_VERSION(13, 0, 15):
/* TOS version read from microcode header */
ucode_ver = psp->sos.fw_version;
/* Read TOS version from hardware */