mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
drm/amd/pm: support return vpe clock table
pm supports return vpe clock table and soc clock table Signed-off-by: Peyton Lee <peytolee@amd.com> Reviewed-by: Li Ma <li.ma@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -247,6 +247,7 @@ struct pp_smu_funcs_nv {
|
||||
#define PP_SMU_NUM_MEMCLK_DPM_LEVELS 4
|
||||
#define PP_SMU_NUM_DCLK_DPM_LEVELS 8
|
||||
#define PP_SMU_NUM_VCLK_DPM_LEVELS 8
|
||||
#define PP_SMU_NUM_VPECLK_DPM_LEVELS 8
|
||||
|
||||
struct dpm_clock {
|
||||
uint32_t Freq; // In MHz
|
||||
@@ -262,6 +263,7 @@ struct dpm_clocks {
|
||||
struct dpm_clock MemClocks[PP_SMU_NUM_MEMCLK_DPM_LEVELS];
|
||||
struct dpm_clock VClocks[PP_SMU_NUM_VCLK_DPM_LEVELS];
|
||||
struct dpm_clock DClocks[PP_SMU_NUM_DCLK_DPM_LEVELS];
|
||||
struct dpm_clock VPEClocks[PP_SMU_NUM_VPECLK_DPM_LEVELS];
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user