summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/powerplay/smu_v11_0.c
diff options
context:
space:
mode:
authortiancyin <tianci.yin@amd.com>2019-05-20 18:21:59 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-06-21 18:59:33 -0500
commit408e27cbba46467dabc93217ed41365ce34626a1 (patch)
tree047662fd9d9bc10e880496a82787fb377a4e82cb /drivers/gpu/drm/amd/powerplay/smu_v11_0.c
parent6ad68a7e1f3ebda4971363b395f50ebea3745ed6 (diff)
drm/amd/powerplay: add ppt interface version log
Include the interface version as well. Signed-off-by: tiancyin <tianci.yin@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/smu_v11_0.c')
-rw-r--r--drivers/gpu/drm/amd/powerplay/smu_v11_0.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/smu_v11_0.c b/drivers/gpu/drm/amd/powerplay/smu_v11_0.c
index 4c8be73f7e8d..63246fa083ad 100644
--- a/drivers/gpu/drm/amd/powerplay/smu_v11_0.c
+++ b/drivers/gpu/drm/amd/powerplay/smu_v11_0.c
@@ -257,8 +257,10 @@ static int smu_v11_0_check_fw_version(struct smu_context *smu)
smu_minor = (smu_version >> 8) & 0xff;
smu_debug = (smu_version >> 0) & 0xff;
- pr_info("SMU Driver IF Version = 0x%08x, SMU FW Version = 0x%08x (%d.%d.%d)\n",
- if_version, smu_version, smu_major, smu_minor, smu_debug);
+ pr_info("SMU Driver IF Version = 0x%08x, SMU FW IF Version = 0x%08x,"
+ " SMU FW Version = 0x%08x (%d.%d.%d)\n",
+ if_version, smu->smc_if_version,
+ smu_version, smu_major, smu_minor, smu_debug);
if (if_version != smu->smc_if_version) {
pr_err("SMU driver if version not matched\n");