summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/powerplay/inc/smumgr.h
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2018-03-07 11:14:38 +0300
committerAlex Deucher <alexander.deucher@amd.com>2018-03-15 17:56:53 +0300
commit0d8a81d926ec76546d34efcb1fd104c117785000 (patch)
tree7cb36ec680f0da9f7b8ff9c12156955d7f5d3402 /drivers/gpu/drm/amd/powerplay/inc/smumgr.h
parent56088be9afd5ae3bcf60232388751d0e58bd01e8 (diff)
downloadlinux-0d8a81d926ec76546d34efcb1fd104c117785000.tar.xz
drm/amd/pp: Add rv_copy_table_from/to_smc to smu backend function table
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/smumgr.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/inc/smumgr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/smumgr.h b/drivers/gpu/drm/amd/powerplay/inc/smumgr.h
index c2199b8a1afb..fc3a2a533586 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/smumgr.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/smumgr.h
@@ -69,6 +69,11 @@ enum SMU_MAC_DEFINITION {
SMU_UVD_MCLK_HANDSHAKE_DISABLE,
};
+enum SMU10_TABLE_ID {
+ SMU10_WMTABLE = 0,
+ SMU10_CLOCKTABLE,
+};
+
extern int smum_get_argument(struct pp_hwmgr *hwmgr);
extern int smum_download_powerplay_table(struct pp_hwmgr *hwmgr, void **table);