aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0102-drm-amd-powerplay-add-smc-msg-for-NB-P-State-switch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0102-drm-amd-powerplay-add-smc-msg-for-NB-P-State-switch.patch')
-rw-r--r--common/recipes-kernel/linux/files/0102-drm-amd-powerplay-add-smc-msg-for-NB-P-State-switch.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/common/recipes-kernel/linux/files/0102-drm-amd-powerplay-add-smc-msg-for-NB-P-State-switch.patch b/common/recipes-kernel/linux/files/0102-drm-amd-powerplay-add-smc-msg-for-NB-P-State-switch.patch
deleted file mode 100644
index 4dcafcdc..00000000
--- a/common/recipes-kernel/linux/files/0102-drm-amd-powerplay-add-smc-msg-for-NB-P-State-switch.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From a5026378fefdc88b1a06c4cc5b1eb50dd44c8fe9 Mon Sep 17 00:00:00 2001
-From: Rex Zhu <Rex.Zhu@amd.com>
-Date: Thu, 19 Nov 2015 13:47:36 +0800
-Subject: [PATCH 0102/1110] drm/amd/powerplay: add smc msg for NB P-State
- switch
-
-Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
-Signed-off-by: David Rokhvarg <David.Rokhvarg@amd.com>
-Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
----
- drivers/gpu/drm/amd/powerplay/inc/cz_ppsmc.h | 1 +
- drivers/gpu/drm/amd/powerplay/inc/smu8_fusion.h | 8 ++++++++
- 2 files changed, 9 insertions(+)
-
-diff --git a/drivers/gpu/drm/amd/powerplay/inc/cz_ppsmc.h b/drivers/gpu/drm/amd/powerplay/inc/cz_ppsmc.h
-index 273616a..9b69878 100644
---- a/drivers/gpu/drm/amd/powerplay/inc/cz_ppsmc.h
-+++ b/drivers/gpu/drm/amd/powerplay/inc/cz_ppsmc.h
-@@ -164,6 +164,7 @@ enum DPM_ARRAY {
- #define PPSMC_MSG_SetLoggerAddressHigh ((uint16_t) 0x26C)
- #define PPSMC_MSG_SetLoggerAddressLow ((uint16_t) 0x26D)
- #define PPSMC_MSG_SetWatermarkFrequency ((uint16_t) 0x26E)
-+#define PPSMC_MSG_SetDisplaySizePowerParams ((uint16_t) 0x26F)
-
- /* REMOVE LATER*/
- #define PPSMC_MSG_DPM_ForceState ((uint16_t) 0x104)
-diff --git a/drivers/gpu/drm/amd/powerplay/inc/smu8_fusion.h b/drivers/gpu/drm/amd/powerplay/inc/smu8_fusion.h
-index 5c9cc3c..0c37c94 100644
---- a/drivers/gpu/drm/amd/powerplay/inc/smu8_fusion.h
-+++ b/drivers/gpu/drm/amd/powerplay/inc/smu8_fusion.h
-@@ -48,6 +48,14 @@ struct SMU8_Port80MonitorTable {
- uint8_t EnableDramShadow;
- };
-
-+/* Display specific power management parameters */
-+#define PWRMGT_SEPARATION_TIME_SHIFT 0
-+#define PWRMGT_SEPARATION_TIME_MASK 0xFFFF
-+#define PWRMGT_DISABLE_CPU_CSTATES_SHIFT 16
-+#define PWRMGT_DISABLE_CPU_CSTATES_MASK 0x1
-+#define PWRMGT_DISABLE_CPU_PSTATES_SHIFT 24
-+#define PWRMGT_DISABLE_CPU_PSTATES_MASK 0x1
-+
- /* Clock Table Definitions */
- #define NUM_SCLK_LEVELS 8
- #define NUM_LCLK_LEVELS 8
---
-2.7.4
-