drm/amdgpu: Add 13.0.12 & 13.0.15 to TOS reload check
Subsystems (2)
PATCH 1/1 drm/amdgpu: Add 13.0.12 & 13.0.15 to TOS reload check
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]>
--- drivers/gpu/drm/amd/amdgpu/psp_v13_0.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/amdgpu/psp_v13_0.c +2 -0
@@ -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 */
Signature · 1 line
2.46.0
Quoted 4 lines · Asad Kamal
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
Quoted 18 lines
--- drivers/gpu/drm/amd/amdgpu/psp_v13_0.c | 2 ++ 1 file changed, 2 insertions(+)drivers/gpu/drm/amd/amdgpu/psp_v13_0.c +2
-0@@ -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 */