drm/amd/pm: Drop legacy message fields from SMUv15

Remove usage of legacy message related fields from SMUv15 SOCs.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Lijo Lazar 2026-01-08 10:06:48 +05:30 committed by Alex Deucher
parent 4068f195d1
commit 97cf0aace8
2 changed files with 0 additions and 14 deletions

View File

@ -237,8 +237,6 @@ int smu_v15_0_od_edit_dpm_table(struct smu_context *smu,
enum PP_OD_DPM_TABLE_COMMAND type,
long input[], uint32_t size);
void smu_v15_0_set_smu_mailbox_registers(struct smu_context *smu);
int smu_v15_0_enable_thermal_alert(struct smu_context *smu);
int smu_v15_0_disable_thermal_alert(struct smu_context *smu);

View File

@ -1333,15 +1333,6 @@ static const struct pptable_funcs smu_v15_0_0_ppt_funcs = {
.get_dpm_clock_table = smu_v15_0_common_get_dpm_table,
};
static void smu_v15_0_0_set_smu_mailbox_registers(struct smu_context *smu)
{
struct amdgpu_device *adev = smu->adev;
smu->param_reg = SOC15_REG_OFFSET(MP1, 0, mmMP1_SMN_C2PMSG_32);
smu->msg_reg = SOC15_REG_OFFSET(MP1, 0, mmMP1_SMN_C2PMSG_30);
smu->resp_reg = SOC15_REG_OFFSET(MP1, 0, mmMP1_SMN_C2PMSG_31);
}
static void smu_v15_0_0_init_msg_ctl(struct smu_context *smu)
{
struct amdgpu_device *adev = smu->adev;
@ -1360,13 +1351,10 @@ static void smu_v15_0_0_init_msg_ctl(struct smu_context *smu)
void smu_v15_0_0_set_ppt_funcs(struct smu_context *smu)
{
smu->ppt_funcs = &smu_v15_0_0_ppt_funcs;
smu->message_map = smu_v15_0_0_message_map;
smu->feature_map = smu_v15_0_0_feature_mask_map;
smu->table_map = smu_v15_0_0_table_map;
smu->is_apu = true;
smu_v15_0_0_set_smu_mailbox_registers(smu);
smu_v15_0_0_init_msg_ctl(smu);
}