aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2417-drm-amd-powerplay-add-ppt-interface-version-log.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2417-drm-amd-powerplay-add-ppt-interface-version-log.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2417-drm-amd-powerplay-add-ppt-interface-version-log.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2417-drm-amd-powerplay-add-ppt-interface-version-log.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2417-drm-amd-powerplay-add-ppt-interface-version-log.patch
new file mode 100644
index 00000000..9ed1f497
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2417-drm-amd-powerplay-add-ppt-interface-version-log.patch
@@ -0,0 +1,31 @@
+From 9a324056c4f2b3d15f4520848559a20a855dd534 Mon Sep 17 00:00:00 2001
+From: tiancyin <tianci.yin@amd.com>
+Date: Mon, 20 May 2019 18:21:59 +0800
+Subject: [PATCH 2417/2940] drm/amd/powerplay: add ppt interface version log
+
+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 | 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.17.1
+