@@ -121,6 +121,7 @@ static struct cmn2asic_msg_mapping smu_v13_0_7_message_map[SMU_MSG_MAX_COUNT] =
121
121
MSG_MAP (Mode1Reset , PPSMC_MSG_Mode1Reset , 0 ),
122
122
MSG_MAP (PrepareMp1ForUnload , PPSMC_MSG_PrepareMp1ForUnload , 0 ),
123
123
MSG_MAP (SetMGpuFanBoostLimitRpm , PPSMC_MSG_SetMGpuFanBoostLimitRpm , 0 ),
124
+ MSG_MAP (DFCstateControl , PPSMC_MSG_SetExternalClientDfCstateAllow , 0 ),
124
125
};
125
126
126
127
static struct cmn2asic_mapping smu_v13_0_7_clk_map [SMU_CLK_COUNT ] = {
@@ -1587,6 +1588,16 @@ static bool smu_v13_0_7_is_mode1_reset_supported(struct smu_context *smu)
1587
1588
1588
1589
return true;
1589
1590
}
1591
+
1592
+ static int smu_v13_0_7_set_df_cstate (struct smu_context * smu ,
1593
+ enum pp_df_cstate state )
1594
+ {
1595
+ return smu_cmn_send_smc_msg_with_param (smu ,
1596
+ SMU_MSG_DFCstateControl ,
1597
+ state ,
1598
+ NULL );
1599
+ }
1600
+
1590
1601
static const struct pptable_funcs smu_v13_0_7_ppt_funcs = {
1591
1602
.get_allowed_feature_mask = smu_v13_0_7_get_allowed_feature_mask ,
1592
1603
.set_default_dpm_table = smu_v13_0_7_set_default_dpm_table ,
@@ -1649,6 +1660,7 @@ static const struct pptable_funcs smu_v13_0_7_ppt_funcs = {
1649
1660
.mode1_reset_is_support = smu_v13_0_7_is_mode1_reset_supported ,
1650
1661
.mode1_reset = smu_v13_0_mode1_reset ,
1651
1662
.set_mp1_state = smu_v13_0_7_set_mp1_state ,
1663
+ .set_df_cstate = smu_v13_0_7_set_df_cstate ,
1652
1664
};
1653
1665
1654
1666
void smu_v13_0_7_set_ppt_funcs (struct smu_context * smu )
0 commit comments