aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/1946-drm-amd-powerplay-update-Vega10-ACG-Avfs-Gb-paramete.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/1946-drm-amd-powerplay-update-Vega10-ACG-Avfs-Gb-paramete.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/1946-drm-amd-powerplay-update-Vega10-ACG-Avfs-Gb-paramete.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/1946-drm-amd-powerplay-update-Vega10-ACG-Avfs-Gb-paramete.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/1946-drm-amd-powerplay-update-Vega10-ACG-Avfs-Gb-paramete.patch
new file mode 100644
index 00000000..1847c46f
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/1946-drm-amd-powerplay-update-Vega10-ACG-Avfs-Gb-paramete.patch
@@ -0,0 +1,33 @@
+From b15c41bfda0e3b896361f856274f0b14418b297d Mon Sep 17 00:00:00 2001
+From: Evan Quan <evan.quan@amd.com>
+Date: Wed, 8 May 2019 14:38:22 +0800
+Subject: [PATCH 1946/2940] drm/amd/powerplay: update Vega10 ACG Avfs Gb
+ parameters
+
+Update Vega10 ACG Avfs GB parameters.
+
+Change-Id: Ic3d5b170b93a7a92949262323ca710dbf9ac49b4
+Signed-off-by: Evan Quan <evan.quan@amd.com>
+Acked-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
+index 8aef10facba1..f90f0f3a6ab7 100644
+--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
++++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
+@@ -2267,8 +2267,8 @@ static int vega10_populate_avfs_parameters(struct pp_hwmgr *hwmgr)
+ pp_table->AcgAvfsGb.m1 = avfs_params.ulAcgGbFuseTableM1;
+ pp_table->AcgAvfsGb.m2 = avfs_params.ulAcgGbFuseTableM2;
+ pp_table->AcgAvfsGb.b = avfs_params.ulAcgGbFuseTableB;
+- pp_table->AcgAvfsGb.m1_shift = 0;
+- pp_table->AcgAvfsGb.m2_shift = 0;
++ pp_table->AcgAvfsGb.m1_shift = 24;
++ pp_table->AcgAvfsGb.m2_shift = 12;
+ pp_table->AcgAvfsGb.b_shift = 0;
+
+ } else {
+--
+2.17.1
+