diff options
author | Eric Huang | 2017-03-01 21:49:31 +0100 |
---|---|---|
committer | Alex Deucher | 2017-03-30 05:53:27 +0200 |
commit | dd4bdf3b35dd8c33dfc41b9917f202f6602dfa48 (patch) | |
tree | f6326a9d3b1a9b8ab779d51d043d58451674ae9c /drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | |
parent | drm/radeon: remove useless and potentially wrong message (diff) | |
download | kernel-qcow2-linux-dd4bdf3b35dd8c33dfc41b9917f202f6602dfa48.tar.gz kernel-qcow2-linux-dd4bdf3b35dd8c33dfc41b9917f202f6602dfa48.tar.xz kernel-qcow2-linux-dd4bdf3b35dd8c33dfc41b9917f202f6602dfa48.zip |
drm/amd/powerplay: add voltage change support through pp_table
Disable avfs to make voltage change take effect.
Signed-off-by: Eric Huang <JinHuiEric.Huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/inc/hwmgr.h')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h index 8cf5aed055b6..d5aa6cd115bf 100644 --- a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h +++ b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h @@ -360,6 +360,7 @@ struct pp_hwmgr_func { int (*release_firmware)(struct pp_hwmgr *hwmgr); int (*set_power_profile_state)(struct pp_hwmgr *hwmgr, struct amd_pp_profile *request); + int (*avfs_control)(struct pp_hwmgr *hwmgr, bool enable); }; struct pp_table_func { |