drm/amd/powerplay: add ppt interface version log
authortiancyin <tianci.yin@amd.com>
Mon, 20 May 2019 10:21:59 +0000 (18:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:33 +0000 (18:59 -0500)
Include the interface version as well.

Signed-off-by: tiancyin <tianci.yin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smu_v11_0.c

index 4c8be73f7e8dee75751ac6f38bff50631e07b121..63246fa083adba8b08ebfe01f57785480f36e7d0 100644 (file)
@@ -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");