Skip to contentSkip to conversation

drm/amdgpu: Enable IFWI update support for PSPv14.0.3

PATCH Superseded Shiwu Zhang 1 participant 1 message May 28, 2025

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: Enable IFWI update support for PSPv14.0.3

Make the psp_vbflash and psp_vbflash_status available in sysfs.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +3 -0
index dd37264f1ec9..c2f48e1fe964 100644
@@ -251,7 +251,10 @@ static int psp_early_init(struct amdgpu_ip_block *ip_block)
 		psp->boot_time_tmr = false;
 		break;
 	case IP_VERSION(14, 0, 2):
+		psp_v14_0_set_psp_funcs(psp);
+		break;
 	case IP_VERSION(14, 0, 3):
+		adev->psp.sup_ifwi_up = !amdgpu_sriov_vf(adev);
 		psp_v14_0_set_psp_funcs(psp);
 		break;
 	case IP_VERSION(14, 0, 5):
Signature · 1 line
2.34.1