Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 408e27cb authored by tiancyin's avatar tiancyin Committed by Alex Deucher
Browse files

drm/amd/powerplay: add ppt interface version log



Include the interface version as well.

Signed-off-by: default avatartiancyin <tianci.yin@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 6ad68a7e
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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");