Skip to contentSkip to conversation

drm/amdgpu: Add 13.0.12 & 13.0.15 to TOS reload check

PATCH In review Asad Kamal 2 participants 2 messages Oct 29

Subsystems (2)
lore
Share & tools
lore

Asad Kamal

author
#0 lore raw

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.

---
 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
index f9a3fbfc0634..2169cbc21811 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
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.

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
index f9a3fbfc0634..2169cbc21811 100644
@@ -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 */