Home
last modified time | relevance | path

Searched refs:smum_send_msg_to_smc (Results 1 – 25 of 26) sorted by relevance

12

/Linux-v6.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu10_hwmgr.c353 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()
527 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMinGfxclkFrequency, &result); in smu10_populate_clock_table()
530 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxGfxclkFrequency, &result); in smu10_populate_clock_table()
641 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMinGfxclkFrequency, &fine_grain_min_freq); in smu10_dpm_force_dpm_level()
642 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxGfxclkFrequency, &fine_grain_max_freq); in smu10_dpm_force_dpm_level()
684 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMinGfxclkFrequency, &fine_grain_min_freq); in smu10_dpm_force_dpm_level()
685 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxGfxclkFrequency, &fine_grain_max_freq); in smu10_dpm_force_dpm_level()
702 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMinGfxclkFrequency, &fine_grain_min_freq); in smu10_dpm_force_dpm_level()
703 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxGfxclkFrequency, &fine_grain_max_freq); in smu10_dpm_force_dpm_level()
[all …]
Dsmu7_clockpowergating.c30 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()
Dvega20_baco.c103 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()
Dsmu7_thermal.c182 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()
Dsmu7_powertune.c1019 result = smum_send_msg_to_smc(hwmgr, in smu7_enable_didt_config()
1027 result = smum_send_msg_to_smc(hwmgr, in smu7_enable_didt_config()
1035 result = smum_send_msg_to_smc(hwmgr, in smu7_enable_didt_config()
1041 result = smum_send_msg_to_smc(hwmgr, in smu7_enable_didt_config()
1078 result = smum_send_msg_to_smc(hwmgr, in smu7_disable_didt_config()
1100 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_enable_smc_cac()
1117 int smc_result = smum_send_msg_to_smc(hwmgr, in smu7_disable_smc_cac()
1167 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_enable_power_containment()
1178 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_enable_power_containment()
1208 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_disable_power_containment()
[all …]
Dsmu7_hwmgr.c255 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_Voltage_Cntl_Enable, NULL); in smu7_enable_smc_voltage_controller()
562 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ResetToDefaults, NULL); in smu7_reset_to_default()
1094 return smum_send_msg_to_smc(hwmgr, in smu7_enable_vrhot_gpio_interrupt()
1113 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnableULV, NULL); in smu7_enable_ulv()
1123 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_DisableULV, NULL); in smu7_disable_ulv()
1132 if (smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MASTER_DeepSleep_ON, NULL)) in smu7_enable_deep_sleep_master_switch()
1137 if (smum_send_msg_to_smc(hwmgr, in smu7_enable_deep_sleep_master_switch()
1153 if (smum_send_msg_to_smc(hwmgr, in smu7_disable_deep_sleep_master_switch()
1209 (0 == smum_send_msg_to_smc(hwmgr, PPSMC_MSG_DPM_Enable, NULL)), in smu7_enable_sclk_mclk_dpm()
1220 (0 == smum_send_msg_to_smc(hwmgr, in smu7_enable_sclk_mclk_dpm()
[all …]
Dsmu8_hwmgr.c165 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()
1789 result = smum_send_msg_to_smc(hwmgr, in smu8_read_sensor()
1948 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ACPPowerOFF, NULL); in smu8_dpm_powergate_acp()
[all …]
Dvega10_baco.c101 if (smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnterBaco, NULL)) in vega10_baco_set_state()
Dvega10_hwmgr.c489 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()
2363 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_InitializeAcg, NULL); in vega10_acg_enable()
2365 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunAcgBtc, &agc_btc_response); in vega10_acg_enable()
2369 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunAcgInClosedLoop, NULL); in vega10_acg_enable()
2371 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunAcgInOpenLoop, NULL); in vega10_acg_enable()
2488 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumTop32, &top32); in vega10_populate_and_upload_avfs_fuse_override()
2490 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumBottom32, &bottom32); in vega10_populate_and_upload_avfs_fuse_override()
3885 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetCurrPkgPwr, &value); in vega10_get_gpu_power()
[all …]
Dvega12_thermal.c34 PP_ASSERT_WITH_CODE(!smum_send_msg_to_smc(hwmgr, in vega12_get_current_rpm()
Dvega12_hwmgr.c368 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumTop32, &top32); in vega12_init_dpm_defaults()
369 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumBottom32, &bottom32); in vega12_init_dpm_defaults()
855 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunAcgBtc, &result) == 0, in vega12_run_acg_btc()
917 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnableAllSmuFeatures, NULL) == 0, in vega12_enable_all_smu_features()
943 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_DisableAllSmuFeatures, NULL) == 0, in vega12_disable_all_smu_features()
2774 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_AllowGfxOff, NULL); in vega12_enable_gfx_off()
2786 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_DisallowGfxOff, NULL); in vega12_disable_gfx_off()
2823 PP_ASSERT_WITH_CODE((ret = smum_send_msg_to_smc(hwmgr, msg, NULL)) == 0, in vega12_set_mp1_state()
Dvega20_thermal.c108 PP_ASSERT_WITH_CODE((ret = smum_send_msg_to_smc(hwmgr, in vega20_get_current_rpm()
Dvega20_hwmgr.c100 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetSmuVersion, &hwmgr->smu_version); in vega20_set_default_registry_data()
408 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumTop32, &top32); in vega20_init_dpm_defaults()
409 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumBottom32, &bottom32); in vega20_init_dpm_defaults()
950 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunBtc, NULL); in vega20_run_btc()
955 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunAfllBtc, NULL); in vega20_run_btc_afll()
967 PP_ASSERT_WITH_CODE((ret = smum_send_msg_to_smc(hwmgr, in vega20_enable_all_smu_features()
1025 PP_ASSERT_WITH_CODE((ret = smum_send_msg_to_smc(hwmgr, in vega20_disable_all_smu_features()
1667 result = smum_send_msg_to_smc(hwmgr, in vega20_enable_mgpu_fan_boost()
3188 PP_ASSERT_WITH_CODE((ret = smum_send_msg_to_smc(hwmgr, msg, NULL)) == 0, in vega20_set_mp1_state()
Dvega10_thermal.c34 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetCurrentRpm, current_rpm); in vega10_get_current_rpm()
/Linux-v6.1/drivers/gpu/drm/amd/pm/powerplay/inc/
Dsmumgr.h88 extern int smum_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg, uint32_t *resp);
/Linux-v6.1/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dsmu10_smumgr.c189 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()
Dvega10_smumgr.c137 smum_send_msg_to_smc(hwmgr, in vega10_get_enabled_smc_features()
181 PP_ASSERT_WITH_CODE(!smum_send_msg_to_smc(hwmgr, in vega10_verify_smc_interface()
Dvega12_smumgr.c164 PP_ASSERT_WITH_CODE(smum_send_msg_to_smc(hwmgr, in vega12_get_enabled_smc_features()
170 PP_ASSERT_WITH_CODE(smum_send_msg_to_smc(hwmgr, in vega12_get_enabled_smc_features()
Dsmu8_smumgr.c627 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ClkTableXferToDram, NULL); in smu8_download_pptable_settings()
657 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ClkTableXferToSmu, NULL); in smu8_upload_pptable_settings()
690 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_InitJobs, NULL); in smu8_request_smu_load_fw()
Dsmumgr.c130 int smum_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg, uint32_t *resp) in smum_send_msg_to_smc() function
Dvega20_smumgr.c358 PP_ASSERT_WITH_CODE((ret = smum_send_msg_to_smc(hwmgr, in vega20_get_enabled_smc_features()
363 PP_ASSERT_WITH_CODE((ret = smum_send_msg_to_smc(hwmgr, in vega20_get_enabled_smc_features()
Dpolaris10_smumgr.c2056 !smum_send_msg_to_smc(hwmgr, PPSMC_MSG_UseNewGPIOScheme, NULL)) in polaris10_init_smc_table()
2156 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnableAvfs, NULL); in polaris10_thermal_avfs_enable()
2162 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ApplyAvfsCksOffVoltage, NULL); in polaris10_thermal_avfs_enable()
2612 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_FreezeLevel, NULL); in polaris10_update_dpm_settings()
2642 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_UnfreezeLevel, NULL); in polaris10_update_dpm_settings()
2647 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_FreezeLevel, NULL); in polaris10_update_dpm_settings()
2677 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_UnfreezeLevel, NULL); in polaris10_update_dpm_settings()
Dfiji_smumgr.c2245 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnableAvfs, NULL); in fiji_thermal_avfs_enable()
2574 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_FreezeLevel, NULL); in fiji_update_dpm_settings()
2604 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_UnfreezeLevel, NULL); in fiji_update_dpm_settings()
2609 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_FreezeLevel, NULL); in fiji_update_dpm_settings()
2639 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_UnfreezeLevel, NULL); in fiji_update_dpm_settings()
Dvegam_smumgr.c2067 !smum_send_msg_to_smc(hwmgr, PPSMC_MSG_UseNewGPIOScheme, NULL)) in vegam_init_smc_table()
2257 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnableAvfs, NULL); in vegam_thermal_avfs_enable()
2260 ret = smum_send_msg_to_smc(hwmgr, in vegam_thermal_avfs_enable()
Dci_smumgr.c2786 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_FreezeLevel, NULL); in ci_update_dpm_settings()
2816 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_UnfreezeLevel, NULL); in ci_update_dpm_settings()
2821 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_FreezeLevel, NULL); in ci_update_dpm_settings()
2851 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_UnfreezeLevel, NULL); in ci_update_dpm_settings()

12