diff options
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h index 145656548efd..a4d490a8ffe6 100644 --- a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h +++ b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | |||
@@ -70,6 +70,19 @@ enum PP_Result { | |||
70 | #define PCIE_PERF_REQ_GEN2 3 | 70 | #define PCIE_PERF_REQ_GEN2 3 |
71 | #define PCIE_PERF_REQ_GEN3 4 | 71 | #define PCIE_PERF_REQ_GEN3 4 |
72 | 72 | ||
73 | enum PP_FEATURE_MASK { | ||
74 | PP_SCLK_DPM_MASK = 0x1, | ||
75 | PP_MCLK_DPM_MASK = 0x2, | ||
76 | PP_PCIE_DPM_MASK = 0x4, | ||
77 | PP_SCLK_DEEP_SLEEP_MASK = 0x8, | ||
78 | PP_POWER_CONTAINMENT_MASK = 0x10, | ||
79 | PP_UVD_HANDSHAKE_MASK = 0x20, | ||
80 | PP_SMC_VOLTAGE_CONTROL_MASK = 0x40, | ||
81 | PP_VBI_TIME_SUPPORT_MASK = 0x80, | ||
82 | PP_ULV_MASK = 0x100, | ||
83 | PP_ENABLE_GFX_CG_THRU_SMU = 0x200 | ||
84 | }; | ||
85 | |||
73 | enum PHM_BackEnd_Magic { | 86 | enum PHM_BackEnd_Magic { |
74 | PHM_Dummy_Magic = 0xAA5555AA, | 87 | PHM_Dummy_Magic = 0xAA5555AA, |
75 | PHM_RV770_Magic = 0xDCBAABCD, | 88 | PHM_RV770_Magic = 0xDCBAABCD, |
@@ -635,6 +648,7 @@ struct pp_hwmgr { | |||
635 | struct pp_power_state *boot_ps; | 648 | struct pp_power_state *boot_ps; |
636 | struct pp_power_state *uvd_ps; | 649 | struct pp_power_state *uvd_ps; |
637 | struct amd_pp_display_configuration display_config; | 650 | struct amd_pp_display_configuration display_config; |
651 | uint32_t feature_mask; | ||
638 | }; | 652 | }; |
639 | 653 | ||
640 | 654 | ||