Skip to content

Commit

Permalink
drm/amd/pm: restore SMU version print statement for dGPUs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mario Limonciello authored and Alex Deucher committed Dec 16, 2021
1 parent 69879b3 commit 0ff76b5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0ff76b5

Please sign in to comment.