/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | smu10_hwmgr.c | 353 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_DisableGfxOff, NULL); in smu10_disable_gfx_off() 373 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnableGfxOff, NULL); in smu10_enable_gfx_off() 383 smum_send_msg_to_smc(hwmgr, in smu10_populate_umdpstate_clocks() 540 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMinGfxclkFrequency, &result); in smu10_populate_clock_table() 543 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxGfxclkFrequency, &result); in smu10_populate_clock_table() 651 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMinGfxclkFrequency, &fine_grain_min_freq); in smu10_dpm_force_dpm_level() 652 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxGfxclkFrequency, &fine_grain_max_freq); in smu10_dpm_force_dpm_level() 694 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMinGfxclkFrequency, &fine_grain_min_freq); in smu10_dpm_force_dpm_level() 695 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxGfxclkFrequency, &fine_grain_max_freq); in smu10_dpm_force_dpm_level() 712 smum_send_msg_to_smc(hwmg in smu10_dpm_force_dpm_level() [all...] |
H A D | smu7_clockpowergating.c | 30 return smum_send_msg_to_smc(hwmgr, enable ? in smu7_enable_disable_uvd_dpm() 38 return smum_send_msg_to_smc(hwmgr, enable ? in smu7_enable_disable_vce_dpm() 61 return smum_send_msg_to_smc(hwmgr, in smu7_powerdown_uvd() 86 return smum_send_msg_to_smc(hwmgr, in smu7_powerdown_vce() 95 return smum_send_msg_to_smc(hwmgr, in smu7_powerup_vce() 434 return smum_send_msg_to_smc(hwmgr, in smu7_powergate_gfx()
|
H A D | vega20_baco.c | 102 if (smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ExitBaco, NULL)) in vega20_baco_set_state() 120 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_BacoWorkAroundFlushVDCI, NULL); in vega20_baco_apply_vdci_flush_workaround()
|
H A D | smu7_thermal.c | 182 result = smum_send_msg_to_smc(hwmgr, in smu7_fan_ctrl_start_smc_fan_control() 195 return smum_send_msg_to_smc(hwmgr, PPSMC_StopFanControl, NULL); in smu7_fan_ctrl_stop_smc_fan_control() 383 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_Thermal_Cntl_Enable, NULL); in smu7_thermal_enable_alert() 401 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_Thermal_Cntl_Disable, NULL); in smu7_thermal_disable_alert()
|
H A D | smu7_powertune.c | 1016 result = smum_send_msg_to_smc(hwmgr, in smu7_enable_didt_config() 1024 result = smum_send_msg_to_smc(hwmgr, in smu7_enable_didt_config() 1032 result = smum_send_msg_to_smc(hwmgr, in smu7_enable_didt_config() 1038 result = smum_send_msg_to_smc(hwmgr, in smu7_enable_didt_config() 1075 result = smum_send_msg_to_smc(hwmgr, in smu7_disable_didt_config() 1097 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_enable_smc_cac() 1114 int smc_result = smum_send_msg_to_smc(hwmgr, in smu7_disable_smc_cac() 1164 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_enable_power_containment() 1175 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_enable_power_containment() 1205 smc_result = smum_send_msg_to_smc(hwmg in smu7_disable_power_containment() [all...] |
H A D | smu8_hwmgr.c | 165 smum_send_msg_to_smc(hwmgr, in smu8_get_max_sclk_level() 594 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxUvdLevel, &level); in smu8_init_uvd_limit() 621 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxEclkLevel, &level); in smu8_init_vce_limit() 648 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxAclkLevel, &level); in smu8_init_acp_limit() 670 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ACPPowerOFF, NULL); in smu8_init_power_gate_state() 1263 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_UVDPowerOFF, NULL); in smu8_dpm_powerdown_uvd() 1317 return smum_send_msg_to_smc(hwmgr, in smu8_dpm_powerdown_vce() 1326 return smum_send_msg_to_smc(hwmgr, in smu8_dpm_powerup_vce() 1801 result = smum_send_msg_to_smc(hwmgr, in smu8_read_sensor() 1960 smum_send_msg_to_smc(hwmg in smu8_dpm_powergate_acp() [all...] |
H A D | smu7_hwmgr.c | 254 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_Voltage_Cntl_Enable, NULL); in smu7_enable_smc_voltage_controller() 561 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ResetToDefaults, NULL); in smu7_reset_to_default() 1093 return smum_send_msg_to_smc(hwmgr, in smu7_enable_vrhot_gpio_interrupt() 1112 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnableULV, NULL); in smu7_enable_ulv() 1122 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_DisableULV, NULL); in smu7_disable_ulv() 1131 if (smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MASTER_DeepSleep_ON, NULL)) in smu7_enable_deep_sleep_master_switch() 1136 if (smum_send_msg_to_smc(hwmgr, in smu7_enable_deep_sleep_master_switch() 1152 if (smum_send_msg_to_smc(hwmgr, in smu7_disable_deep_sleep_master_switch() 1208 (0 == smum_send_msg_to_smc(hwmgr, PPSMC_MSG_DPM_Enable, NULL)), in smu7_enable_sclk_mclk_dpm() 1219 (0 == smum_send_msg_to_smc(hwmg in smu7_enable_sclk_mclk_dpm() [all...] |
H A D | vega10_baco.c | 97 if (smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnterBaco, NULL)) in vega10_baco_set_state()
|
H A D | vega12_thermal.c | 34 PP_ASSERT_WITH_CODE(!smum_send_msg_to_smc(hwmgr, in vega12_get_current_rpm()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | smu7_clockpowergating.c | 30 return smum_send_msg_to_smc(hwmgr, enable ? in smu7_enable_disable_uvd_dpm() 38 return smum_send_msg_to_smc(hwmgr, enable ? in smu7_enable_disable_vce_dpm() 61 return smum_send_msg_to_smc(hwmgr, in smu7_powerdown_uvd() 86 return smum_send_msg_to_smc(hwmgr, in smu7_powerdown_vce() 95 return smum_send_msg_to_smc(hwmgr, in smu7_powerup_vce() 434 return smum_send_msg_to_smc(hwmgr, in smu7_powergate_gfx()
|
H A D | smu10_hwmgr.c | 352 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_DisableGfxOff, NULL); in smu10_disable_gfx_off() 372 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnableGfxOff, NULL); in smu10_enable_gfx_off() 505 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMinGfxclkFrequency, &result); in smu10_populate_clock_table() 508 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxGfxclkFrequency, &result); in smu10_populate_clock_table() 953 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetGfxclkFrequency, &now); in smu10_print_clock_levels() 974 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetFclkFrequency, &now); in smu10_print_clock_levels() 995 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMinGfxclkFrequency, &min_freq); in smu10_print_clock_levels() 996 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxGfxclkFrequency, &max_freq); in smu10_print_clock_levels() 1205 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetGfxclkFrequency, &sclk); in smu10_read_sensor() 1211 smum_send_msg_to_smc(hwmg in smu10_read_sensor() [all...] |
H A D | vega20_baco.c | 103 if (smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ExitBaco, NULL)) in vega20_baco_set_state() 121 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_BacoWorkAroundFlushVDCI, NULL); in vega20_baco_apply_vdci_flush_workaround()
|
H A D | smu7_hwmgr.c | 192 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_Voltage_Cntl_Enable, NULL); in smu7_enable_smc_voltage_controller() 499 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ResetToDefaults, NULL); in smu7_reset_to_default() 1031 return smum_send_msg_to_smc(hwmgr, in smu7_enable_vrhot_gpio_interrupt() 1050 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnableULV, NULL); in smu7_enable_ulv() 1060 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_DisableULV, NULL); in smu7_disable_ulv() 1069 if (smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MASTER_DeepSleep_ON, NULL)) in smu7_enable_deep_sleep_master_switch() 1074 if (smum_send_msg_to_smc(hwmgr, in smu7_enable_deep_sleep_master_switch() 1090 if (smum_send_msg_to_smc(hwmgr, in smu7_disable_deep_sleep_master_switch() 1145 (0 == smum_send_msg_to_smc(hwmgr, PPSMC_MSG_DPM_Enable, NULL)), in smu7_enable_sclk_mclk_dpm() 1156 (0 == smum_send_msg_to_smc(hwmg in smu7_enable_sclk_mclk_dpm() [all...] |
H A D | smu7_thermal.c | 187 return smum_send_msg_to_smc(hwmgr, PPSMC_StopFanControl, NULL); in smu7_fan_ctrl_stop_smc_fan_control() 376 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_Thermal_Cntl_Enable, NULL); in smu7_thermal_enable_alert() 394 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_Thermal_Cntl_Disable, NULL); in smu7_thermal_disable_alert()
|
H A D | smu8_hwmgr.c | 165 smum_send_msg_to_smc(hwmgr, in smu8_get_max_sclk_level() 594 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxUvdLevel, &level); in smu8_init_uvd_limit() 621 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxEclkLevel, &level); in smu8_init_vce_limit() 648 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxAclkLevel, &level); in smu8_init_acp_limit() 670 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ACPPowerOFF, NULL); in smu8_init_power_gate_state() 1251 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_UVDPowerOFF, NULL); in smu8_dpm_powerdown_uvd() 1305 return smum_send_msg_to_smc(hwmgr, in smu8_dpm_powerdown_vce() 1314 return smum_send_msg_to_smc(hwmgr, in smu8_dpm_powerup_vce() 1788 result = smum_send_msg_to_smc(hwmgr, in smu8_read_sensor() 1948 smum_send_msg_to_smc(hwmg in smu8_dpm_powergate_acp() [all...] |
H A D | smu7_powertune.c | 1014 result = smum_send_msg_to_smc(hwmgr, in smu7_enable_didt_config() 1048 result = smum_send_msg_to_smc(hwmgr, in smu7_disable_didt_config() 1070 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_enable_smc_cac() 1087 int smc_result = smum_send_msg_to_smc(hwmgr, in smu7_disable_smc_cac() 1137 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_enable_power_containment() 1148 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_enable_power_containment() 1178 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_disable_power_containment() 1188 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_disable_power_containment() 1198 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_disable_power_containment()
|
H A D | vega12_thermal.c | 34 PP_ASSERT_WITH_CODE(!smum_send_msg_to_smc(hwmgr, in vega12_get_current_rpm()
|
H A D | vega10_baco.c | 101 if (smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnterBaco, NULL)) in vega10_baco_set_state()
|
H A D | vega10_hwmgr.c | 489 smum_send_msg_to_smc(hwmgr, in vega10_init_dpm_defaults() 509 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumTop32, &top32); in vega10_init_dpm_defaults() 510 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumBottom32, &bottom32); in vega10_init_dpm_defaults() 2359 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_InitializeAcg, NULL); in vega10_acg_enable() 2361 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunAcgBtc, &agc_btc_response); in vega10_acg_enable() 2365 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunAcgInClosedLoop, NULL); in vega10_acg_enable() 2367 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunAcgInOpenLoop, NULL); in vega10_acg_enable() 2484 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumTop32, &top32); in vega10_populate_and_upload_avfs_fuse_override() 2486 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumBottom32, &bottom32); in vega10_populate_and_upload_avfs_fuse_override() 3880 smum_send_msg_to_smc(hwmg in vega10_get_gpu_power() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/ |
H A D | smumgr.h | 88 extern int smum_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg, uint32_t *resp);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/inc/ |
H A D | smumgr.h | 88 extern int smum_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg, uint32_t *resp);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | smu10_smumgr.c | 190 smum_send_msg_to_smc(hwmgr, in smu10_verify_smc_interface() 226 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetSmuVersion, &hwmgr->smu_version); in smu10_start_smu()
|
H A D | vega10_smumgr.c | 138 smum_send_msg_to_smc(hwmgr, in vega10_get_enabled_smc_features() 182 PP_ASSERT_WITH_CODE(!smum_send_msg_to_smc(hwmgr, in vega10_verify_smc_interface()
|
H A D | vega12_smumgr.c | 165 PP_ASSERT_WITH_CODE(smum_send_msg_to_smc(hwmgr, in vega12_get_enabled_smc_features() 171 PP_ASSERT_WITH_CODE(smum_send_msg_to_smc(hwmgr, in vega12_get_enabled_smc_features()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | smu10_smumgr.c | 189 smum_send_msg_to_smc(hwmgr, in smu10_verify_smc_interface() 225 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetSmuVersion, &hwmgr->smu_version); in smu10_start_smu()
|