aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.19.8/0087-drm-amd-powerplay-enable-fclk-ss-by-default.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/0087-drm-amd-powerplay-enable-fclk-ss-by-default.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.19.8/0087-drm-amd-powerplay-enable-fclk-ss-by-default.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/0087-drm-amd-powerplay-enable-fclk-ss-by-default.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/0087-drm-amd-powerplay-enable-fclk-ss-by-default.patch
new file mode 100644
index 00000000..d37d0b85
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/0087-drm-amd-powerplay-enable-fclk-ss-by-default.patch
@@ -0,0 +1,30 @@
+From d54ab2bd4d2c3cfd9d4a03dc13880ea04b6d4a56 Mon Sep 17 00:00:00 2001
+From: Evan Quan <evan.quan@amd.com>
+Date: Tue, 17 Jul 2018 10:22:37 +0800
+Subject: [PATCH 0087/2940] drm/amd/powerplay: enable fclk ss by default
+
+Set fclk ss as enabled on default.
+
+Signed-off-by: Evan Quan <evan.quan@amd.com>
+Reviewed-by: Rex Zhu <rezhu@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c
+index 32d24a48a947..5f1f7a32ac24 100644
+--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c
++++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c
+@@ -810,7 +810,7 @@ static int append_vbios_pptable(struct pp_hwmgr *hwmgr, PPTable_t *ppsmc_pptable
+ ppsmc_pptable->UclkSpreadPercent = smc_dpm_table->uclkspreadpercent;
+ ppsmc_pptable->UclkSpreadFreq = smc_dpm_table->uclkspreadfreq;
+
+- ppsmc_pptable->FclkSpreadEnabled = 0;
++ ppsmc_pptable->FclkSpreadEnabled = smc_dpm_table->fclkspreadenabled;
+ ppsmc_pptable->FclkSpreadPercent = smc_dpm_table->fclkspreadpercent;
+ ppsmc_pptable->FclkSpreadFreq = smc_dpm_table->fclkspreadfreq;
+
+--
+2.17.1
+