summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/powerplay/inc/smumgr.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2018-07-12 14:59:22 -0500
committerAlex Deucher <alexander.deucher@amd.com>2018-07-16 11:39:28 -0500
commit59f20f5a0c9767a8b66688b84e72a345b4dc1bc1 (patch)
treeac71c63620437f9e5ce00c01c09ae4eb17302667 /drivers/gpu/drm/amd/powerplay/inc/smumgr.h
parentce7577a2194b58bf7faf303612a24b7cd5210afc (diff)
drm/amdgpu/pp: switch smu callback type for get_argument()
return a uint32_t rather than an int to properly reflect what the function does. Reviewed-by: Rex Zhu <rezhu@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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/smumgr.h b/drivers/gpu/drm/amd/powerplay/inc/smumgr.h
index 89dfbf53c7e6..82550a8a3a3f 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/smumgr.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/smumgr.h
@@ -80,7 +80,7 @@ enum SMU10_TABLE_ID {
SMU10_CLOCKTABLE,
};
-extern int smum_get_argument(struct pp_hwmgr *hwmgr);
+extern uint32_t smum_get_argument(struct pp_hwmgr *hwmgr);
extern int smum_download_powerplay_table(struct pp_hwmgr *hwmgr, void **table);