summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2018-01-11 15:02:15 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-02-19 14:18:16 -0500
commit897e1bbeec6bfb52dc075f9100b2a6f209d16583 (patch)
treea6c5917ba6bc228111482d447bef10cd553b11b3 /drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
parent9950cda2a0187314c3cd6a86415ab9050074c5f8 (diff)
downloadtalos-obmc-linux-897e1bbeec6bfb52dc075f9100b2a6f209d16583.tar.gz
talos-obmc-linux-897e1bbeec6bfb52dc075f9100b2a6f209d16583.zip
drm/amd/pp: Add hwmgr interface for edit dpm table
Add odn_edit_dpm_table function points for setting user assigned clock/voltage. 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>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/inc/hwmgr.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/inc/hwmgr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
index 7caab09d1436..604a7cba67a3 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
@@ -345,6 +345,9 @@ struct pp_hwmgr_func {
struct PP_TemperatureRange *range);
int (*get_power_profile_mode)(struct pp_hwmgr *hwmgr, char *buf);
int (*set_power_profile_mode)(struct pp_hwmgr *hwmgr, long *input, uint32_t size);
+ int (*odn_edit_dpm_table)(struct pp_hwmgr *hwmgr,
+ enum PP_OD_DPM_TABLE_COMMAND type,
+ long *input, uint32_t size);
};
struct pp_table_func {
OpenPOWER on IntegriCloud