[PATCH 304/459] drm/amd/powerplay: add ppt interface version log

Alex Deucher alexdeucher at gmail.com
Mon Jun 17 19:44:05 UTC 2019


From: tiancyin <tianci.yin at amd.com>

Signed-off-by: tiancyin <tianci.yin at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 drivers/gpu/drm/amd/powerplay/smu_v11_0.c | 6 ++++--
 1 file 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 3f1176420b0e..93714ee9f32e 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");
-- 
2.20.1



More information about the amd-gfx mailing list