Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd/pm: Add pm firmware info to dmesg log

Add PMFW info to dmesg log for SMUv13 SOCs. It's helpful as diagnostic
data for some driver load issues.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Lijo Lazar and committed by
Alex Deucher
b2e997e6 9b822e26

+4 -3
+4 -3
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
··· 288 288 * Considering above, we just leave user a verbal message instead 289 289 * of halt driver loading. 290 290 */ 291 - if (smu->smc_driver_if_version != SMU_IGNORE_IF_VERSION && 292 - if_version != smu->smc_driver_if_version) { 293 - dev_info(adev->dev, "smu driver if version = 0x%08x, smu fw if version = 0x%08x, " 291 + dev_info_once(adev->dev, "smu driver if version = 0x%08x, smu fw if version = 0x%08x, " 294 292 "smu fw program = %d, smu fw version = 0x%08x (%d.%d.%d)\n", 295 293 smu->smc_driver_if_version, if_version, 296 294 smu_program, smu_version, smu_major, smu_minor, smu_debug); 295 + 296 + if (smu->smc_driver_if_version != SMU_IGNORE_IF_VERSION && 297 + if_version != smu->smc_driver_if_version) { 297 298 dev_info(adev->dev, "SMU driver if version not matched\n"); 298 299 } 299 300