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>
This commit is contained in:
@@ -194,7 +194,7 @@ struct pp_smumgr_func {
|
||||
int (*request_smu_load_fw)(struct pp_hwmgr *hwmgr);
|
||||
int (*request_smu_load_specific_fw)(struct pp_hwmgr *hwmgr,
|
||||
uint32_t firmware);
|
||||
int (*get_argument)(struct pp_hwmgr *hwmgr);
|
||||
uint32_t (*get_argument)(struct pp_hwmgr *hwmgr);
|
||||
int (*send_msg_to_smc)(struct pp_hwmgr *hwmgr, uint16_t msg);
|
||||
int (*send_msg_to_smc_with_parameter)(struct pp_hwmgr *hwmgr,
|
||||
uint16_t msg, uint32_t parameter);
|
||||
|
@@ -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);
|
||||
|
||||
|
مرجع در شماره جدید
Block a user