Commit 73c9f222 authored by Rex Zhu's avatar Rex Zhu Committed by Alex Deucher

drm/amd/powerplay: add new function point in hwmgr.

1. for set_cpu_power_state
2. restore display configuration
Signed-off-by: default avatarRex Zhu <Rex.Zhu@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Reviewed-by: default avatarJammy Zhou <Jammy.Zhou@amd.com>
parent 9c97e75f
...@@ -312,6 +312,10 @@ struct pp_hwmgr_func { ...@@ -312,6 +312,10 @@ struct pp_hwmgr_func {
const struct pp_hw_power_state *pstate1, const struct pp_hw_power_state *pstate1,
const struct pp_hw_power_state *pstate2, const struct pp_hw_power_state *pstate2,
bool *equal); bool *equal);
int (*set_cpu_power_state)(struct pp_hwmgr *hwmgr);
int (*store_cc6_data)(struct pp_hwmgr *hwmgr, uint32_t separation_time,
bool cc6_disable, bool pstate_disable,
bool pstate_switch_disable);
}; };
struct pp_table_func { struct pp_table_func {
......
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