diff options
author | Rex Zhu | 2015-11-04 04:07:34 +0100 |
---|---|---|
committer | Alex Deucher | 2015-12-21 22:42:28 +0100 |
commit | 09b4c872fe16d5e396de8636f5810078014dbd3f (patch) | |
tree | 14d907037c81721b8d8352c85cb1290d572aa922 /drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | |
parent | drm/amdgpu: support per device powerplay enablement (v2) (diff) | |
download | kernel-qcow2-linux-09b4c872fe16d5e396de8636f5810078014dbd3f.tar.gz kernel-qcow2-linux-09b4c872fe16d5e396de8636f5810078014dbd3f.tar.xz kernel-qcow2-linux-09b4c872fe16d5e396de8636f5810078014dbd3f.zip |
drm/amd/powerplay: add and export hwmgr interface to eventmgr to check hw states.
Interface between hwmgr and eventmgr.
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/inc/hwmgr.h')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h index aedb1e499100..5b5c94dc3510 100644 --- a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h +++ b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h @@ -307,6 +307,11 @@ struct pp_hwmgr_func { int (*uninitialize_thermal_controller)(struct pp_hwmgr *hwmgr); int (*register_internal_thermal_interrupt)(struct pp_hwmgr *hwmgr, const void *thermal_interrupt_info); + bool (*check_smc_update_required_for_display_configuration)(struct pp_hwmgr *hwmgr); + int (*check_states_equal)(struct pp_hwmgr *hwmgr, + const struct pp_hw_power_state *pstate1, + const struct pp_hw_power_state *pstate2, + bool *equal); }; struct pp_table_func { |