aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/0766-drm-amd-Update-atom_smu_info_v3_3-structure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/0766-drm-amd-Update-atom_smu_info_v3_3-structure.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/0766-drm-amd-Update-atom_smu_info_v3_3-structure.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/0766-drm-amd-Update-atom_smu_info_v3_3-structure.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/0766-drm-amd-Update-atom_smu_info_v3_3-structure.patch
new file mode 100644
index 00000000..bf6b5dc6
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/0766-drm-amd-Update-atom_smu_info_v3_3-structure.patch
@@ -0,0 +1,31 @@
+From 7692f207cc473e98c5aaa7470d1a736d4b168e43 Mon Sep 17 00:00:00 2001
+From: Leo Li <sunpeng.li@amd.com>
+Date: Tue, 30 Oct 2018 15:09:08 -0400
+Subject: [PATCH 0766/2940] drm/amd: Update atom_smu_info_v3_3 structure
+
+Mainly adding the WAFL spread spectrum info, for adjusting display
+clocks when XGMI is enabled.
+
+Signed-off-by: Leo Li <sunpeng.li@amd.com>
+Acked-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/include/atomfirmware.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/include/atomfirmware.h b/drivers/gpu/drm/amd/include/atomfirmware.h
+index 8eb0bb241210..05065888e3ba 100644
+--- a/drivers/gpu/drm/amd/include/atomfirmware.h
++++ b/drivers/gpu/drm/amd/include/atomfirmware.h
+@@ -1292,7 +1292,7 @@ struct atom_smu_info_v3_2 {
+ struct atom_common_table_header table_header;
+ uint8_t smuip_min_ver;
+ uint8_t smuip_max_ver;
+- uint8_t smu_rsd1;
++ uint8_t waflclk_ss_mode;
+ uint8_t gpuclk_ss_mode;
+ uint16_t sclk_ss_percentage;
+ uint16_t sclk_ss_rate_10hz;
+--
+2.17.1
+