Commit 59fc8cde authored by Rex Zhu's avatar Rex Zhu Committed by Alex Deucher

drm/amd/pp: Move DPMTABLE_* definitions to common header file

Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarRex Zhu <Rex.Zhu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ee85c07a
...@@ -34,11 +34,6 @@ ...@@ -34,11 +34,6 @@
#define SMU7_VOLTAGE_CONTROL_BY_SVID2 0x2 #define SMU7_VOLTAGE_CONTROL_BY_SVID2 0x2
#define SMU7_VOLTAGE_CONTROL_MERGED 0x3 #define SMU7_VOLTAGE_CONTROL_MERGED 0x3
#define DPMTABLE_OD_UPDATE_SCLK 0x00000001
#define DPMTABLE_OD_UPDATE_MCLK 0x00000002
#define DPMTABLE_UPDATE_SCLK 0x00000004
#define DPMTABLE_UPDATE_MCLK 0x00000008
enum gpu_pt_config_reg_type { enum gpu_pt_config_reg_type {
GPU_CONFIGREG_MMR = 0, GPU_CONFIGREG_MMR = 0,
GPU_CONFIGREG_SMC_IND, GPU_CONFIGREG_SMC_IND,
......
...@@ -189,12 +189,6 @@ struct vega10_vbios_boot_state { ...@@ -189,12 +189,6 @@ struct vega10_vbios_boot_state {
uint32_t dcef_clock; uint32_t dcef_clock;
}; };
#define DPMTABLE_OD_UPDATE_SCLK 0x00000001
#define DPMTABLE_OD_UPDATE_MCLK 0x00000002
#define DPMTABLE_UPDATE_SCLK 0x00000004
#define DPMTABLE_UPDATE_MCLK 0x00000008
#define DPMTABLE_OD_UPDATE_VDDC 0x00000010
struct vega10_smc_state_table { struct vega10_smc_state_table {
uint32_t soc_boot_level; uint32_t soc_boot_level;
uint32_t gfx_boot_level; uint32_t gfx_boot_level;
......
...@@ -358,6 +358,17 @@ struct phm_clocks { ...@@ -358,6 +358,17 @@ struct phm_clocks {
uint32_t clock[MAX_NUM_CLOCKS]; uint32_t clock[MAX_NUM_CLOCKS];
}; };
#define DPMTABLE_OD_UPDATE_SCLK 0x00000001
#define DPMTABLE_OD_UPDATE_MCLK 0x00000002
#define DPMTABLE_UPDATE_SCLK 0x00000004
#define DPMTABLE_UPDATE_MCLK 0x00000008
#define DPMTABLE_OD_UPDATE_VDDC 0x00000010
/* To determine if sclk and mclk are in overdrive state */
#define SCLK_OVERDRIVE_ENABLED 0x00000001
#define MCLK_OVERDRIVE_ENABLED 0x00000002
#define VDDC_OVERDRIVE_ENABLED 0x00000010
struct phm_odn_performance_level { struct phm_odn_performance_level {
uint32_t clock; uint32_t clock;
uint32_t vddc; uint32_t vddc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment