]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amd/pm: Remove set df cstate for SMUv13.0.6
authorAsad Kamal <asad.kamal@amd.com>
Thu, 28 Sep 2023 15:51:11 +0000 (23:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Oct 2023 21:59:35 +0000 (17:59 -0400)
Remove set df cstate as disallow df state is
not required for SMUv13.0.6

Signed-off-by: Asad Kamal <asad.kamal@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c

index f5ef0f45e9dbc758e1907d8e0b1964aab7026253..ce971a93d28b63fa3e3d7a071c0a8229ad35ac56 100644 (file)
@@ -1891,13 +1891,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 const char *const throttling_logging_label[] = {
        [THROTTLER_PROCHOT_BIT] = "Prochot",
        [THROTTLER_PPT_BIT] = "PPT",
@@ -2804,7 +2797,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,
        .select_xgmi_plpd_policy = smu_v13_0_6_select_xgmi_plpd_policy,
        .log_thermal_throttling_event = smu_v13_0_6_log_thermal_throttling_event,
        .get_pp_feature_mask = smu_cmn_get_pp_feature_mask,