/openbsd/sys/dev/pci/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() 1317 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetGfxclkFrequency, &sclk); in smu10_read_sensor() 1323 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetFclkFrequency, &mclk); in smu10_read_sensor() 1339 ret = smum_send_msg_to_smc(hwmgr, in smu10_read_sensor() 1388 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_PowerGateMmHub, NULL); in smu10_powergate_mmhub() 1394 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_PowerDownSdma, NULL); in smu10_powergate_sdma() [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() 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(hwmgr, in smu7_disable_power_containment() 1215 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_disable_power_containment() [all …]
|
H A D | smu7_hwmgr.c | 1093 return smum_send_msg_to_smc(hwmgr, in smu7_enable_vrhot_gpio_interrupt() 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() 1219 (0 == smum_send_msg_to_smc(hwmgr, in smu7_enable_sclk_mclk_dpm() 1296 (0 == smum_send_msg_to_smc(hwmgr, in smu7_start_dpm() 1303 (0 == smum_send_msg_to_smc(hwmgr, in smu7_start_dpm() 1359 (smum_send_msg_to_smc(hwmgr, in smu7_stop_dpm() 1491 ret = smum_send_msg_to_smc(hwmgr, in smu7_populate_edc_leakage_registers() 1495 ret = smum_send_msg_to_smc(hwmgr, in smu7_populate_edc_leakage_registers() 1708 PP_ASSERT_WITH_CODE(!smum_send_msg_to_smc( in smu7_avfs_control() [all …]
|
H A D | smu8_hwmgr.c | 165 smum_send_msg_to_smc(hwmgr, in smu8_get_max_sclk_level() 595 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxUvdLevel, &level); in smu8_init_uvd_limit() 625 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxEclkLevel, &level); in smu8_init_vce_limit() 655 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxAclkLevel, &level); in smu8_init_acp_limit() 679 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ACPPowerOFF, NULL); in smu8_init_power_gate_state() 1274 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_UVDPowerOFF, NULL); in smu8_dpm_powerdown_uvd() 1328 return smum_send_msg_to_smc(hwmgr, in smu8_dpm_powerdown_vce() 1337 return smum_send_msg_to_smc(hwmgr, in smu8_dpm_powerup_vce() 1812 result = smum_send_msg_to_smc(hwmgr, in smu8_read_sensor() 1971 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ACPPowerOFF, NULL); in smu8_dpm_powergate_acp() [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 | vega10_hwmgr.c | 488 ret = smum_send_msg_to_smc(hwmgr, in vega10_init_dpm_defaults() 511 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumTop32, &top32); in vega10_init_dpm_defaults() 2371 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_InitializeAcg, NULL); in vega10_acg_enable() 2381 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunAcgInClosedLoop, NULL); in vega10_acg_enable() 2383 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunAcgInOpenLoop, NULL); in vega10_acg_enable() 2500 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumTop32, &top32); in vega10_populate_and_upload_avfs_fuse_override() 2502 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumBottom32, &bottom32); in vega10_populate_and_upload_avfs_fuse_override() 3937 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetCurrPkgPwr, &value); in vega10_get_gpu_power() 3963 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetCurrentUclkIndex, &mclk_idx); in vega10_read_sensor() 4715 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetCurrentUclkIndex, &now); in vega10_emit_clock_levels() [all …]
|
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 | vega12_hwmgr.c | 367 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumTop32, &top32); in vega12_init_dpm_defaults() 370 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumBottom32, &bottom32); in vega12_init_dpm_defaults() 864 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunAcgBtc, &result) == 0, in vega12_run_acg_btc() 926 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnableAllSmuFeatures, NULL) == 0, in vega12_enable_all_smu_features() 952 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_DisableAllSmuFeatures, NULL) == 0, in vega12_disable_all_smu_features() 2809 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_AllowGfxOff, NULL); in vega12_enable_gfx_off() 2821 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_DisallowGfxOff, NULL); in vega12_disable_gfx_off() 2858 PP_ASSERT_WITH_CODE((ret = smum_send_msg_to_smc(hwmgr, msg, NULL)) == 0, in vega12_set_mp1_state()
|
H A D | vega20_thermal.c | 108 PP_ASSERT_WITH_CODE((ret = smum_send_msg_to_smc(hwmgr, in vega20_get_current_rpm()
|
H A D | vega20_hwmgr.c | 99 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetSmuVersion, &hwmgr->smu_version); in vega20_set_default_registry_data() 407 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumTop32, &top32); in vega20_init_dpm_defaults() 411 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumBottom32, &bottom32); in vega20_init_dpm_defaults() 960 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunBtc, NULL); in vega20_run_btc() 965 return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunAfllBtc, NULL); in vega20_run_btc_afll() 977 PP_ASSERT_WITH_CODE((ret = smum_send_msg_to_smc(hwmgr, in vega20_enable_all_smu_features() 1035 PP_ASSERT_WITH_CODE((ret = smum_send_msg_to_smc(hwmgr, in vega20_disable_all_smu_features() 1674 result = smum_send_msg_to_smc(hwmgr, in vega20_enable_mgpu_fan_boost() 3201 PP_ASSERT_WITH_CODE((ret = smum_send_msg_to_smc(hwmgr, msg, NULL)) == 0, in vega20_set_mp1_state()
|
H A D | vega10_thermal.c | 34 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetCurrentRpm, current_rpm); in vega10_get_current_rpm()
|
/openbsd/sys/dev/pci/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);
|
/openbsd/sys/dev/pci/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()
|
H A D | vega10_smumgr.c | 138 ret = smum_send_msg_to_smc(hwmgr, in vega10_get_enabled_smc_features() 185 PP_ASSERT_WITH_CODE(!smum_send_msg_to_smc(hwmgr, in vega10_verify_smc_interface()
|
H A D | smu8_smumgr.c | 627 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()
|
H A D | vega12_smumgr.c | 164 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()
|
H A D | smumgr.c | 130 int smum_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg, uint32_t *resp) in smum_send_msg_to_smc() function
|
H A D | vega20_smumgr.c | 358 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()
|
H A D | polaris10_smumgr.c | 2056 !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()
|
H A D | fiji_smumgr.c | 2245 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()
|
H A D | vegam_smumgr.c | 2066 !smum_send_msg_to_smc(hwmgr, PPSMC_MSG_UseNewGPIOScheme, NULL)) in vegam_init_smc_table() 2256 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnableAvfs, NULL); in vegam_thermal_avfs_enable() 2259 ret = smum_send_msg_to_smc(hwmgr, in vegam_thermal_avfs_enable()
|
H A D | ci_smumgr.c | 2785 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_FreezeLevel, NULL); in ci_update_dpm_settings() 2815 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_UnfreezeLevel, NULL); in ci_update_dpm_settings() 2820 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_FreezeLevel, NULL); in ci_update_dpm_settings() 2850 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_UnfreezeLevel, NULL); in ci_update_dpm_settings()
|