diff options
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/inc/cz_ppsmc.h | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/inc/smu8_fusion.h | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/cz_ppsmc.h b/drivers/gpu/drm/amd/powerplay/inc/cz_ppsmc.h index 273616ab43db..9b698780aed8 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 { | |||
164 | #define PPSMC_MSG_SetLoggerAddressHigh ((uint16_t) 0x26C) | 164 | #define PPSMC_MSG_SetLoggerAddressHigh ((uint16_t) 0x26C) |
165 | #define PPSMC_MSG_SetLoggerAddressLow ((uint16_t) 0x26D) | 165 | #define PPSMC_MSG_SetLoggerAddressLow ((uint16_t) 0x26D) |
166 | #define PPSMC_MSG_SetWatermarkFrequency ((uint16_t) 0x26E) | 166 | #define PPSMC_MSG_SetWatermarkFrequency ((uint16_t) 0x26E) |
167 | #define PPSMC_MSG_SetDisplaySizePowerParams ((uint16_t) 0x26F) | ||
167 | 168 | ||
168 | /* REMOVE LATER*/ | 169 | /* REMOVE LATER*/ |
169 | #define PPSMC_MSG_DPM_ForceState ((uint16_t) 0x104) | 170 | #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 5c9cc3c0bbfa..0c37c94e9414 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 { | |||
48 | uint8_t EnableDramShadow; | 48 | uint8_t EnableDramShadow; |
49 | }; | 49 | }; |
50 | 50 | ||
51 | /* Display specific power management parameters */ | ||
52 | #define PWRMGT_SEPARATION_TIME_SHIFT 0 | ||
53 | #define PWRMGT_SEPARATION_TIME_MASK 0xFFFF | ||
54 | #define PWRMGT_DISABLE_CPU_CSTATES_SHIFT 16 | ||
55 | #define PWRMGT_DISABLE_CPU_CSTATES_MASK 0x1 | ||
56 | #define PWRMGT_DISABLE_CPU_PSTATES_SHIFT 24 | ||
57 | #define PWRMGT_DISABLE_CPU_PSTATES_MASK 0x1 | ||
58 | |||
51 | /* Clock Table Definitions */ | 59 | /* Clock Table Definitions */ |
52 | #define NUM_SCLK_LEVELS 8 | 60 | #define NUM_SCLK_LEVELS 8 |
53 | #define NUM_LCLK_LEVELS 8 | 61 | #define NUM_LCLK_LEVELS 8 |