aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2420-drm-amd-powerplay-enable-BACO-feature-as-WAR.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2420-drm-amd-powerplay-enable-BACO-feature-as-WAR.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2420-drm-amd-powerplay-enable-BACO-feature-as-WAR.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2420-drm-amd-powerplay-enable-BACO-feature-as-WAR.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2420-drm-amd-powerplay-enable-BACO-feature-as-WAR.patch
new file mode 100644
index 00000000..c7717f07
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2420-drm-amd-powerplay-enable-BACO-feature-as-WAR.patch
@@ -0,0 +1,31 @@
+From ba8b2b092caad0ff964fcec1051e12ad6d7a4523 Mon Sep 17 00:00:00 2001
+From: Jack Xiao <Jack.Xiao@amd.com>
+Date: Sat, 1 Jun 2019 10:35:12 +0800
+Subject: [PATCH 2420/2940] drm/amd/powerplay: enable BACO feature as WAR
+
+It would hit SMU fw bug without BACO enablement when audio
+driver put audio device to D3 state. Before the bug in SMU fw
+get fixed, enable BACO feature as WAR.
+
+Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
+Acked-by: Hawking Zhang <Hawking.Zhang@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
+index c4bd14ab2add..f781c7f4ba46 100644
+--- a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
++++ b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
+@@ -331,6 +331,7 @@ navi10_get_allowed_feature_mask(struct smu_context *smu,
+ | FEATURE_MASK(FEATURE_DS_GFXCLK_BIT)
+ | FEATURE_MASK(FEATURE_DS_DCEFCLK_BIT)
+ | FEATURE_MASK(FEATURE_FW_DSTATE_BIT)
++ | FEATURE_MASK(FEATURE_BACO_BIT)
+ | FEATURE_MASK(FEATURE_ACDC_BIT);
+
+ if (adev->pm.pp_feature & PP_MCLK_DPM_MASK)
+--
+2.17.1
+