drm/amd/pp: Add hwmgr_sw_init/fini functioins
Clean up pp ip functions Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -782,10 +782,13 @@ struct pp_hwmgr {
|
||||
};
|
||||
|
||||
int hwmgr_early_init(struct pp_hwmgr *hwmgr);
|
||||
int hwmgr_sw_init(struct pp_hwmgr *hwmgr);
|
||||
int hwmgr_sw_fini(struct pp_hwmgr *hwmgr);
|
||||
int hwmgr_hw_init(struct pp_hwmgr *hwmgr);
|
||||
int hwmgr_hw_fini(struct pp_hwmgr *hwmgr);
|
||||
int hwmgr_hw_suspend(struct pp_hwmgr *hwmgr);
|
||||
int hwmgr_hw_resume(struct pp_hwmgr *hwmgr);
|
||||
int hwmgr_suspend(struct pp_hwmgr *hwmgr);
|
||||
int hwmgr_resume(struct pp_hwmgr *hwmgr);
|
||||
|
||||
int hwmgr_handle_task(struct pp_hwmgr *hwmgr,
|
||||
enum amd_pp_task task_id,
|
||||
enum amd_pm_state_type *user_state);
|
||||
|
Reference in New Issue
Block a user