aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3394-drm-amd-powerplay-remove-redundancy-debug-log-about-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3394-drm-amd-powerplay-remove-redundancy-debug-log-about-.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3394-drm-amd-powerplay-remove-redundancy-debug-log-about-.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3394-drm-amd-powerplay-remove-redundancy-debug-log-about-.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3394-drm-amd-powerplay-remove-redundancy-debug-log-about-.patch
new file mode 100644
index 00000000..56fe4d94
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3394-drm-amd-powerplay-remove-redundancy-debug-log-about-.patch
@@ -0,0 +1,30 @@
+From 7314ada7e5809987fa6429feb11ff7bc01fcba34 Mon Sep 17 00:00:00 2001
+From: Chengming Gui <Jack.Gui@amd.com>
+Date: Mon, 12 Aug 2019 10:06:34 +0800
+Subject: [PATCH 3394/4256] drm/amd/powerplay: remove redundancy debug log
+ about smu unsupported features
+
+remove redundancy debug log about smu unsupported features
+
+Signed-off-by: Chengming Gui <Jack.Gui@amd.com>
+Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
+Reviewed-by: Evan Quan <evan.quan@amd.com>
+---
+ drivers/gpu/drm/amd/powerplay/arcturus_ppt.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c b/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c
+index 6aa135938e00..efce71f858af 100644
+--- a/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c
++++ b/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c
+@@ -215,7 +215,6 @@ static int arcturus_get_smu_feature_index(struct smu_context *smc, uint32_t inde
+
+ mapping = arcturus_feature_mask_map[index];
+ if (!(mapping.valid_mapping)) {
+- pr_warn("Unsupported SMU feature: %d\n", index);
+ return -EINVAL;
+ }
+
+--
+2.17.1
+