drm/amd/powerpaly: drop unused APIs
Drop unused smu7 message APIs. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Kenneth Feng <kenneth.feng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
d9c8316eb3
commit
87f09ec6c6
@ -191,13 +191,6 @@ int smu7_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int smu7_send_msg_to_smc_without_waiting(struct pp_hwmgr *hwmgr, uint16_t msg)
|
||||
{
|
||||
cgs_write_register(hwmgr->device, mmSMC_MESSAGE_0, msg);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int smu7_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr, uint16_t msg, uint32_t parameter)
|
||||
{
|
||||
PHM_WAIT_FIELD_UNEQUAL(hwmgr, SMC_RESP_0, SMC_RESP, 0);
|
||||
@ -207,13 +200,6 @@ int smu7_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr, uint16_t msg, ui
|
||||
return smu7_send_msg_to_smc(hwmgr, msg);
|
||||
}
|
||||
|
||||
int smu7_send_msg_to_smc_with_parameter_without_waiting(struct pp_hwmgr *hwmgr, uint16_t msg, uint32_t parameter)
|
||||
{
|
||||
cgs_write_register(hwmgr->device, mmSMC_MSG_ARG_0, parameter);
|
||||
|
||||
return smu7_send_msg_to_smc_without_waiting(hwmgr, msg);
|
||||
}
|
||||
|
||||
uint32_t smu7_get_argument(struct pp_hwmgr *hwmgr)
|
||||
{
|
||||
return cgs_read_register(hwmgr->device, mmSMC_MSG_ARG_0);
|
||||
|
@ -60,11 +60,8 @@ int smu7_copy_bytes_to_smc(struct pp_hwmgr *hwmgr, uint32_t smc_start_address,
|
||||
int smu7_program_jump_on_start(struct pp_hwmgr *hwmgr);
|
||||
bool smu7_is_smc_ram_running(struct pp_hwmgr *hwmgr);
|
||||
int smu7_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg);
|
||||
int smu7_send_msg_to_smc_without_waiting(struct pp_hwmgr *hwmgr, uint16_t msg);
|
||||
int smu7_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr, uint16_t msg,
|
||||
uint32_t parameter);
|
||||
int smu7_send_msg_to_smc_with_parameter_without_waiting(struct pp_hwmgr *hwmgr,
|
||||
uint16_t msg, uint32_t parameter);
|
||||
uint32_t smu7_get_argument(struct pp_hwmgr *hwmgr);
|
||||
int smu7_send_msg_to_smc_offset(struct pp_hwmgr *hwmgr);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user