Remove set df cstate as disallow df state is
not required for SMUv13.0.6

Signed-off-by: Asad Kamal <asad.ka...@amd.com>
Reviewed-by: Lijo Lazar <lijo.la...@amd.com>
---
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c 
b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
index 11a6cd96c601..652688316d68 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
@@ -1889,13 +1889,6 @@ static bool smu_v13_0_6_is_baco_supported(struct 
smu_context *smu)
        return false;
 }
 
-static int smu_v13_0_6_set_df_cstate(struct smu_context *smu,
-                                    enum pp_df_cstate state)
-{
-       return smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_DFCstateControl,
-                                              state, NULL);
-}
-
 static int smu_v13_0_6_allow_xgmi_power_down(struct smu_context *smu, bool en)
 {
        return smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_GmiPwrDnControl,
@@ -2754,7 +2747,6 @@ static const struct pptable_funcs smu_v13_0_6_ppt_funcs = 
{
        .get_dpm_ultimate_freq = smu_v13_0_6_get_dpm_ultimate_freq,
        .set_soft_freq_limited_range = smu_v13_0_6_set_soft_freq_limited_range,
        .od_edit_dpm_table = smu_v13_0_6_usr_edit_dpm_table,
-       .set_df_cstate = smu_v13_0_6_set_df_cstate,
        .allow_xgmi_power_down = smu_v13_0_6_allow_xgmi_power_down,
        .log_thermal_throttling_event = 
smu_v13_0_6_log_thermal_throttling_event,
        .get_pp_feature_mask = smu_cmn_get_pp_feature_mask,
-- 
2.34.1

Reply via email to