mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-10 18:29:24 +00:00
drm/amd/powerplay:clean up phm_enable_clock_power_gatings
As the PG was setted by each IP block durinng IP early init thus remove the unused phm_enable_clock_power_gatings related funcs. Signed-off-by: Prike Liang <Prike.Liang@amd.com> Reviewed-by: Kenneth Feng <kenneth.feng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
05794eff1a
commit
73c97fa442
@ -154,15 +154,6 @@ int phm_powerdown_uvd(struct pp_hwmgr *hwmgr)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int phm_enable_clock_power_gatings(struct pp_hwmgr *hwmgr)
|
|
||||||
{
|
|
||||||
PHM_FUNC_CHECK(hwmgr);
|
|
||||||
|
|
||||||
if (NULL != hwmgr->hwmgr_func->enable_clock_power_gating)
|
|
||||||
return hwmgr->hwmgr_func->enable_clock_power_gating(hwmgr);
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int phm_disable_clock_power_gatings(struct pp_hwmgr *hwmgr)
|
int phm_disable_clock_power_gatings(struct pp_hwmgr *hwmgr)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -397,7 +397,6 @@ struct phm_odn_clock_levels {
|
|||||||
};
|
};
|
||||||
|
|
||||||
extern int phm_disable_clock_power_gatings(struct pp_hwmgr *hwmgr);
|
extern int phm_disable_clock_power_gatings(struct pp_hwmgr *hwmgr);
|
||||||
extern int phm_enable_clock_power_gatings(struct pp_hwmgr *hwmgr);
|
|
||||||
extern int phm_powerdown_uvd(struct pp_hwmgr *hwmgr);
|
extern int phm_powerdown_uvd(struct pp_hwmgr *hwmgr);
|
||||||
extern int phm_setup_asic(struct pp_hwmgr *hwmgr);
|
extern int phm_setup_asic(struct pp_hwmgr *hwmgr);
|
||||||
extern int phm_enable_dynamic_state_management(struct pp_hwmgr *hwmgr);
|
extern int phm_enable_dynamic_state_management(struct pp_hwmgr *hwmgr);
|
||||||
|
|||||||
@ -251,7 +251,6 @@ struct pp_hwmgr_func {
|
|||||||
uint32_t (*get_sclk)(struct pp_hwmgr *hwmgr, bool low);
|
uint32_t (*get_sclk)(struct pp_hwmgr *hwmgr, bool low);
|
||||||
int (*power_state_set)(struct pp_hwmgr *hwmgr,
|
int (*power_state_set)(struct pp_hwmgr *hwmgr,
|
||||||
const void *state);
|
const void *state);
|
||||||
int (*enable_clock_power_gating)(struct pp_hwmgr *hwmgr);
|
|
||||||
int (*notify_smc_display_config_after_ps_adjustment)(struct pp_hwmgr *hwmgr);
|
int (*notify_smc_display_config_after_ps_adjustment)(struct pp_hwmgr *hwmgr);
|
||||||
int (*pre_display_config_changed)(struct pp_hwmgr *hwmgr);
|
int (*pre_display_config_changed)(struct pp_hwmgr *hwmgr);
|
||||||
int (*display_config_changed)(struct pp_hwmgr *hwmgr);
|
int (*display_config_changed)(struct pp_hwmgr *hwmgr);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user