drm/amd/pm: restore SMU version print statement for dGPUs

This is still needed for thoes in case the firmware fails to load
then the message is the only way to tell what firmware was on them

Suggested-by: Lijo Lazar <lijo.Lazar@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Mario Limonciello 2021-12-14 15:28:30 -06:00 committed by Alex Deucher
parent 69879b3083
commit 0ff76b5334
1 changed files with 5 additions and 0 deletions

View File

@ -227,6 +227,11 @@ int smu_v13_0_check_fw_version(struct smu_context *smu)
break;
}
/* only for dGPU w/ SMU13*/
if (adev->pm.fw)
dev_dbg(adev->dev, "smu fw reported version = 0x%08x (%d.%d.%d)\n",
smu_version, smu_major, smu_minor, smu_debug);
/*
* 1. if_version mismatch is not critical as our fw is designed
* to be backward compatible.