]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/pm: Drop unused ppt callback from SMUv13
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 16 Dec 2025 09:08:59 +0000 (14:38 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 10 Jan 2026 19:08:58 +0000 (14:08 -0500)
SMU message related ppt callbacks are not used. Drop from SMUv13.

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>
drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_5_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c

index 94b8e5dd76b501dcb9a7fa96912818ed79db70fc..9de0b676bb7bf070a385f688e8d3505f3a4bc3f1 100644 (file)
@@ -1996,8 +1996,6 @@ static const struct pptable_funcs aldebaran_ppt_funcs = {
        .set_tool_table_location = smu_v13_0_set_tool_table_location,
        .notify_memory_pool_location = smu_v13_0_notify_memory_pool_location,
        .system_features_control = aldebaran_system_features_control,
-       .send_smc_msg_with_param = smu_cmn_send_smc_msg_with_param,
-       .send_smc_msg = smu_cmn_send_smc_msg,
        .get_enabled_mask = smu_cmn_get_enabled_mask,
        .feature_is_enabled = smu_cmn_feature_is_enabled,
        .disable_all_features_with_exception = smu_cmn_disable_all_features_with_exception,
index 7ca9adfa2446e646cccb838d00083be7373cc085..41c61362f7fc20b1634fbf6fadf8cce8636480a2 100644 (file)
@@ -1101,8 +1101,6 @@ static const struct pptable_funcs smu_v13_0_4_ppt_funcs = {
        .fini_smc_tables = smu_v13_0_4_fini_smc_tables,
        .get_vbios_bootup_values = smu_v13_0_get_vbios_bootup_values,
        .system_features_control = smu_v13_0_4_system_features_control,
-       .send_smc_msg_with_param = smu_cmn_send_smc_msg_with_param,
-       .send_smc_msg = smu_cmn_send_smc_msg,
        .dpm_set_vcn_enable = smu_v13_0_set_vcn_enable,
        .dpm_set_jpeg_enable = smu_v13_0_set_jpeg_enable,
        .set_default_dpm_table = smu_v13_0_set_default_dpm_tables,
index 29ec02f2dd6ae061aa3f658b32c816e21be6155b..e4be727789c00e5355aea9c341a8a4c279c06bea 100644 (file)
@@ -1104,8 +1104,6 @@ static const struct pptable_funcs smu_v13_0_5_ppt_funcs = {
        .fini_smc_tables = smu_v13_0_5_fini_smc_tables,
        .get_vbios_bootup_values = smu_v13_0_get_vbios_bootup_values,
        .system_features_control = smu_v13_0_5_system_features_control,
-       .send_smc_msg_with_param = smu_cmn_send_smc_msg_with_param,
-       .send_smc_msg = smu_cmn_send_smc_msg,
        .dpm_set_vcn_enable = smu_v13_0_5_dpm_set_vcn_enable,
        .dpm_set_jpeg_enable = smu_v13_0_5_dpm_set_jpeg_enable,
        .set_default_dpm_table = smu_v13_0_5_set_default_dpm_tables,
index d76ac14a8a64058c7cad035cf4d28dd92ee911a9..1e82c43c851aafaf5f1b2f236ba9c4a73d8401ef 100644 (file)
@@ -3860,8 +3860,6 @@ static const struct pptable_funcs smu_v13_0_6_ppt_funcs = {
        .set_tool_table_location = smu_v13_0_set_tool_table_location,
        .notify_memory_pool_location = smu_v13_0_notify_memory_pool_location,
        .system_features_control = smu_v13_0_6_system_features_control,
-       .send_smc_msg_with_param = smu_cmn_send_smc_msg_with_param,
-       .send_smc_msg = smu_cmn_send_smc_msg,
        .get_enabled_mask = smu_v13_0_6_get_enabled_mask,
        .feature_is_enabled = smu_cmn_feature_is_enabled,
        .set_power_limit = smu_v13_0_6_set_power_limit,
index b4b55a66fb71bb7c4dd829c2468c093f6f909ebb..7f70f79c3b2f7c7bf2eea29198cb547622bf01b7 100644 (file)
@@ -1333,8 +1333,6 @@ static const struct pptable_funcs yellow_carp_ppt_funcs = {
        .fini_smc_tables = yellow_carp_fini_smc_tables,
        .get_vbios_bootup_values = smu_v13_0_get_vbios_bootup_values,
        .system_features_control = yellow_carp_system_features_control,
-       .send_smc_msg_with_param = smu_cmn_send_smc_msg_with_param,
-       .send_smc_msg = smu_cmn_send_smc_msg,
        .dpm_set_vcn_enable = yellow_carp_dpm_set_vcn_enable,
        .dpm_set_jpeg_enable = yellow_carp_dpm_set_jpeg_enable,
        .set_default_dpm_table = yellow_carp_set_default_dpm_tables,