drm/amdgpu/pm: drop SMU driver if version not matched messages
Subsystems (3)
Alex Deucher
maintainerPATCH 1/1 drm/amdgpu/pm: drop SMU driver if version not matched messages
It just leads to user confusion.
Cc Yang Wang <[email protected]>
Cc Lijo Lazar <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 1 - drivers/gpu/drm/amd/pm/swsmu/smu12/smu_v12_0.c | 1 - drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c | 1 - drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c | 4 ---- 4 files changed, 7 deletions(-)
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c +0 -1
@@ -262,7 +262,6 @@ int smu_v11_0_check_fw_version(struct smu_context *smu)"smu fw program = %d, version = 0x%08x (%d.%d.%d)\n" , smu->smc_driver_if_version, if_version, smu_program, smu_version, smu_major, smu_minor, smu_debug); -dev_info (smu->adev->dev,"SMU driver if version not matched\n" ); }return ret;
drivers/gpu/drm/amd/pm/swsmu/smu12/smu_v12_0.c +0 -1
@@ -101,7 +101,6 @@ int smu_v12_0_check_fw_version(struct smu_context *smu)"smu fw program = %d, smu fw version = 0x%08x (%d.%d.%d)\n" , smu->smc_driver_if_version, if_version, smu_program, smu_version, smu_major, smu_minor, smu_debug); -dev_info (smu->adev->dev,"SMU driver if version not matched\n" ); }return ret;
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c +0 -1
@@ -284,7 +284,6 @@ int smu_v14_0_check_fw_version(struct smu_context *smu)"smu fw program = %d, smu fw version = 0x%08x (%d.%d.%d)\n" , smu->smc_driver_if_version, if_version, smu_program, smu_version, smu_major, smu_minor, smu_debug); -dev_info (adev->dev,"SMU driver if version not matched\n" ); }return ret;
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c +0 -4
@@ -1057,10 +1057,6 @@ int smu_cmn_check_fw_version(struct smu_context *smu) smu->smc_driver_if_version, if_version, smu_program, smu_version, smu_major, smu_minor, smu_debug); -if (smu->smc_driver_if_version !=SMU_IGNORE_IF_VERSION && - if_version != smu->smc_driver_if_version) -dev_info (adev->dev,"SMU driver if version not matched\n" ); -return 0 ; }
Signature · 1 line
2.53.0
[AMD Official Use Only - AMD Internal Distribution Only]
Yes, I agree.
This string may cause confusion for customers, but keeping the other version information is necessary for issue identification and debugging.
Reviewed-by Yang Wang <[email protected]>
Best Regards,
Kevin
-----Original Message-----
From: Alex Deucher <[email protected]>
Sent: Wednesday, March 18, 2026 04:41
To: [email protected]
Cc: Deucher, Alexander <[email protected]>; Wang, Yang(Kevin) <[email protected]>; Lazar, Lijo <[email protected]>
Subject: [PATCH] drm/amdgpu/pm: drop SMU driver if version not matched messages
It just leads to user confusion.
Cc Yang Wang <[email protected]>
Cc Lijo Lazar <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 1 - drivers/gpu/drm/amd/pm/swsmu/smu12/smu_v12_0.c | 1 - drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c | 1 - drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c | 4 ---- 4 files changed, 7 deletions(-)
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c +0 -1
@@ -262,7 +262,6 @@ int smu_v11_0_check_fw_version(struct smu_context *smu)"smu fw program = %d, version = 0x%08x (%d.%d.%d)\n" , smu->smc_driver_if_version, if_version, smu_program, smu_version, smu_major, smu_minor, smu_debug); -dev_info (smu->adev->dev,"SMU driver if version not matched\n" ); }return ret;
drivers/gpu/drm/amd/pm/swsmu/smu12/smu_v12_0.c +0 -1
@@ -101,7 +101,6 @@ int smu_v12_0_check_fw_version(struct smu_context *smu)"smu fw program = %d, smu fw version = 0x%08x (%d.%d.%d)\n" , smu->smc_driver_if_version, if_version, smu_program, smu_version, smu_major, smu_minor, smu_debug); -dev_info (smu->adev->dev,"SMU driver if version not matched\n" ); }return ret;
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c +0 -1
@@ -284,7 +284,6 @@ int smu_v14_0_check_fw_version(struct smu_context *smu)"smu fw program = %d, smu fw version = 0x%08x (%d.%d.%d)\n" , smu->smc_driver_if_version, if_version, smu_program, smu_version, smu_major, smu_minor, smu_debug); -dev_info (adev->dev,"SMU driver if version not matched\n" ); }return ret;
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c +0 -4
@@ -1057,10 +1057,6 @@ int smu_cmn_check_fw_version(struct smu_context *smu) smu->smc_driver_if_version, if_version, smu_program, smu_version, smu_major, smu_minor, smu_debug); -if (smu->smc_driver_if_version !=SMU_IGNORE_IF_VERSION && - if_version != smu->smc_driver_if_version) -dev_info (adev->dev,"SMU driver if version not matched\n" ); -return 0 ; }
--
2.53.0
Quoted 5 lines · Alex Deucher
It just leads to user confusion.
Cc Yang Wang <[email protected]>Cc Lijo Lazar <[email protected]>Signed-off-by Alex Deucher <[email protected]>
Reviewed-by Lijo Lazar <[email protected]>
Thanks,
Lijo
Quoted 58 lines
--- drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 1 - drivers/gpu/drm/amd/pm/swsmu/smu12/smu_v12_0.c | 1 - drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c | 1 - drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c | 4 ---- 4 files changed, 7 deletions(-)drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c +0
-1@@ -262,7 +262,6 @@ int smu_v11_0_check_fw_version(struct smu_context *smu)"smu fw program = %d, version = 0x%08x (%d.%d.%d)\n" , smu->smc_driver_if_version, if_version, smu_program, smu_version, smu_major, smu_minor, smu_debug); -dev_info (smu->adev->dev,"SMU driver if version not matched\n" ); }return ret;drivers/gpu/drm/amd/pm/swsmu/smu12/smu_v12_0.c +0
-1@@ -101,7 +101,6 @@ int smu_v12_0_check_fw_version(struct smu_context *smu)"smu fw program = %d, smu fw version = 0x%08x (%d.%d.%d)\n" , smu->smc_driver_if_version, if_version, smu_program, smu_version, smu_major, smu_minor, smu_debug); -dev_info (smu->adev->dev,"SMU driver if version not matched\n" ); }return ret;drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c +0
-1@@ -284,7 +284,6 @@ int smu_v14_0_check_fw_version(struct smu_context *smu)"smu fw program = %d, smu fw version = 0x%08x (%d.%d.%d)\n" , smu->smc_driver_if_version, if_version, smu_program, smu_version, smu_major, smu_minor, smu_debug); -dev_info (adev->dev,"SMU driver if version not matched\n" ); }return ret;drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c +0
-4@@ -1057,10 +1057,6 @@ int smu_cmn_check_fw_version(struct smu_context *smu) smu->smc_driver_if_version, if_version, smu_program, smu_version, smu_major, smu_minor, smu_debug); -if (smu->smc_driver_if_version !=SMU_IGNORE_IF_VERSION && - if_version != smu->smc_driver_if_version) -dev_info (adev->dev,"SMU driver if version not matched\n" ); -return 0 ; }