/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | smu7_clockpowergating.c | 30 return smum_send_msg_to_smc(hwmgr, enable ? in smu7_enable_disable_uvd_dpm() 37 return smum_send_msg_to_smc(hwmgr, enable ? in smu7_enable_disable_vce_dpm() 59 return smum_send_msg_to_smc(hwmgr, in smu7_powerdown_uvd() 83 return smum_send_msg_to_smc(hwmgr, in smu7_powerdown_vce() 91 return smum_send_msg_to_smc(hwmgr, in smu7_powerup_vce() 428 return smum_send_msg_to_smc(hwmgr, in smu7_powergate_gfx()
|
D | smu7_thermal.c | 155 result = smum_send_msg_to_smc(hwmgr, PPSMC_StartFanControl); in smu7_fan_ctrl_start_smc_fan_control() 168 result = smum_send_msg_to_smc(hwmgr, PPSMC_StartFanControl); in smu7_fan_ctrl_start_smc_fan_control() 186 return smum_send_msg_to_smc(hwmgr, PPSMC_StopFanControl); in smu7_fan_ctrl_stop_smc_fan_control() 375 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_Thermal_Cntl_Enable); in smu7_thermal_enable_alert() 393 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_Thermal_Cntl_Disable); in smu7_thermal_disable_alert()
|
D | vega20_baco.c | 96 if (smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ExitBaco)) in vega20_baco_set_state() 114 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_BacoWorkAroundFlushVDCI); in vega20_baco_apply_vdci_flush_workaround()
|
D | smu10_hwmgr.c | 327 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_DisableGfxOff); in smu10_disable_gfx_off() 347 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnableGfxOff); in smu10_enable_gfx_off() 482 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMinGfxclkFrequency); in smu10_populate_clock_table() 486 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxGfxclkFrequency); in smu10_populate_clock_table() 891 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetGfxclkFrequency); in smu10_print_clock_levels() 913 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetFclkFrequency); in smu10_print_clock_levels() 1120 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetGfxclkFrequency); in smu10_read_sensor() 1127 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetFclkFrequency); in smu10_read_sensor() 1165 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SetRccPfcPmeRestoreRegister); in smu10_smus_notify_pwe() 1170 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_PowerGateMmHub); in smu10_powergate_mmhub() [all …]
|
D | smu7_hwmgr.c | 188 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_Voltage_Cntl_Enable); in smu7_enable_smc_voltage_controller() 495 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ResetToDefaults); in smu7_reset_to_default() 980 return smum_send_msg_to_smc(hwmgr, in smu7_enable_vrhot_gpio_interrupt() 998 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnableULV); in smu7_enable_ulv() 1008 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_DisableULV); in smu7_disable_ulv() 1017 if (smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MASTER_DeepSleep_ON)) in smu7_enable_deep_sleep_master_switch() 1022 if (smum_send_msg_to_smc(hwmgr, in smu7_enable_deep_sleep_master_switch() 1037 if (smum_send_msg_to_smc(hwmgr, in smu7_disable_deep_sleep_master_switch() 1091 (0 == smum_send_msg_to_smc(hwmgr, PPSMC_MSG_DPM_Enable)), in smu7_enable_sclk_mclk_dpm() 1102 (0 == smum_send_msg_to_smc(hwmgr, in smu7_enable_sclk_mclk_dpm() [all …]
|
D | smu8_hwmgr.c | 165 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxSclkLevel); in smu8_get_max_sclk_level() 591 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxUvdLevel); in smu8_init_uvd_limit() 618 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxEclkLevel); in smu8_init_vce_limit() 645 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxAclkLevel); in smu8_init_acp_limit() 668 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ACPPowerOFF); in smu8_init_power_gate_state() 1230 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_UVDPowerOFF); in smu8_dpm_powerdown_uvd() 1278 return smum_send_msg_to_smc(hwmgr, in smu8_dpm_powerdown_vce() 1286 return smum_send_msg_to_smc(hwmgr, in smu8_dpm_powerup_vce() 1756 result = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetAverageGraphicsActivity); in smu8_read_sensor() 1901 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ACPPowerOFF); in smu8_dpm_powergate_acp() [all …]
|
D | smu7_powertune.c | 1011 result = smum_send_msg_to_smc(hwmgr, in smu7_enable_didt_config() 1044 result = smum_send_msg_to_smc(hwmgr, in smu7_disable_didt_config() 1065 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_enable_smc_cac() 1081 int smc_result = smum_send_msg_to_smc(hwmgr, in smu7_disable_smc_cac() 1126 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_enable_power_containment() 1136 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_enable_power_containment() 1165 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_disable_power_containment() 1174 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_disable_power_containment() 1183 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_disable_power_containment()
|
D | vega10_baco.c | 101 if (smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnterBaco)) in vega10_baco_set_state()
|
D | vega12_thermal.c | 34 PP_ASSERT_WITH_CODE(!smum_send_msg_to_smc(hwmgr, in vega12_get_current_rpm()
|
D | vega10_hwmgr.c | 487 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetSmuVersion); in vega10_init_dpm_defaults() 506 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumTop32); in vega10_init_dpm_defaults() 508 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumBottom32); in vega10_init_dpm_defaults() 2302 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_InitializeAcg); in vega10_acg_enable() 2304 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunAcgBtc); in vega10_acg_enable() 2309 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunAcgInClosedLoop); in vega10_acg_enable() 2311 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunAcgInOpenLoop); in vega10_acg_enable() 2428 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumTop32); in vega10_populate_and_upload_avfs_fuse_override() 2431 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumBottom32); in vega10_populate_and_upload_avfs_fuse_override() 3757 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetCurrPkgPwr); in vega10_get_gpu_power() [all …]
|
D | vega12_hwmgr.c | 360 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumTop32); in vega12_init_dpm_defaults() 362 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumBottom32); in vega12_init_dpm_defaults() 772 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunAcgBtc) == 0, in vega12_run_acg_btc() 833 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnableAllSmuFeatures) == 0, in vega12_enable_all_smu_features() 859 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_DisableAllSmuFeatures) == 0, in vega12_disable_all_smu_features() 2610 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_AllowGfxOff); in vega12_enable_gfx_off() 2622 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_DisallowGfxOff); in vega12_disable_gfx_off() 2659 PP_ASSERT_WITH_CODE((ret = smum_send_msg_to_smc(hwmgr, msg)) == 0, in vega12_set_mp1_state()
|
D | vega20_thermal.c | 108 PP_ASSERT_WITH_CODE((ret = smum_send_msg_to_smc(hwmgr, in vega20_get_current_rpm()
|
D | vega20_hwmgr.c | 95 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetSmuVersion); in vega20_set_default_registry_data() 400 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumTop32); in vega20_init_dpm_defaults() 402 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumBottom32); in vega20_init_dpm_defaults() 914 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunBtc); in vega20_run_btc() 919 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunAfllBtc); in vega20_run_btc_afll() 931 PP_ASSERT_WITH_CODE((ret = smum_send_msg_to_smc(hwmgr, in vega20_enable_all_smu_features() 989 PP_ASSERT_WITH_CODE((ret = smum_send_msg_to_smc(hwmgr, in vega20_disable_all_smu_features() 1639 result = smum_send_msg_to_smc(hwmgr, in vega20_enable_mgpu_fan_boost() 3139 PP_ASSERT_WITH_CODE((ret = smum_send_msg_to_smc(hwmgr, msg)) == 0, in vega20_set_mp1_state()
|
D | vega10_thermal.c | 34 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetCurrentRpm); in vega10_get_current_rpm()
|
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/inc/ |
D | smumgr.h | 90 extern int smum_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg);
|
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/smumgr/ |
D | smumgr.c | 138 int smum_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg) in smum_send_msg_to_smc() function
|
D | smu10_smumgr.c | 217 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetSmuVersion); in smu10_start_smu()
|
D | polaris10_smumgr.c | 2054 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnableAvfs); in polaris10_thermal_avfs_enable() 2060 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ApplyAvfsCksOffVoltage); in polaris10_thermal_avfs_enable() 2488 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_FreezeLevel); in polaris10_update_dpm_settings() 2518 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_UnfreezeLevel); in polaris10_update_dpm_settings() 2523 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_FreezeLevel); in polaris10_update_dpm_settings() 2553 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_UnfreezeLevel); in polaris10_update_dpm_settings()
|
D | fiji_smumgr.c | 2248 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnableAvfs); in fiji_thermal_avfs_enable() 2575 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_FreezeLevel); in fiji_update_dpm_settings() 2605 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_UnfreezeLevel); in fiji_update_dpm_settings() 2610 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_FreezeLevel); in fiji_update_dpm_settings() 2640 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_UnfreezeLevel); in fiji_update_dpm_settings()
|
D | vegam_smumgr.c | 2072 !smum_send_msg_to_smc(hwmgr, PPSMC_MSG_UseNewGPIOScheme)) in vegam_init_smc_table() 2262 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnableAvfs); in vegam_thermal_avfs_enable() 2265 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ApplyAvfsCksOffVoltage); in vegam_thermal_avfs_enable()
|
D | ci_smumgr.c | 2783 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_FreezeLevel); in ci_update_dpm_settings() 2813 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_UnfreezeLevel); in ci_update_dpm_settings() 2818 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_FreezeLevel); in ci_update_dpm_settings() 2848 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_UnfreezeLevel); in ci_update_dpm_settings()
|
D | tonga_smumgr.c | 3171 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_FreezeLevel); in tonga_update_dpm_settings() 3201 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_UnfreezeLevel); in tonga_update_dpm_settings() 3206 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_FreezeLevel); in tonga_update_dpm_settings() 3236 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_UnfreezeLevel); in tonga_update_dpm_settings()
|