drm/amdgpu: bypass IMU ucode loading for MP0 15.0.8

For MP0 15.0.8, IMU ucode is part of IFWI and ASP would load it by default.

Signed-off-by: Le Ma <le.ma@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Le Ma 2025-12-12 18:43:47 +08:00 committed by Alex Deucher
parent 3ebe585358
commit 68af620c9a

View File

@ -3096,6 +3096,13 @@ static int psp_load_non_psp_fw(struct psp_context *psp)
*/
continue;
/* IMU ucode is part of IFWI and MP0 15.0.8 would load it */
if (amdgpu_ip_version(adev, MP0_HWIP, 0) ==
IP_VERSION(15, 0, 8) &&
(ucode->ucode_id == AMDGPU_UCODE_ID_IMU_I ||
ucode->ucode_id == AMDGPU_UCODE_ID_IMU_D))
continue;
psp_print_fw_hdr(psp, ucode);
ret = psp_execute_ip_fw_load(psp, ucode);