Home
last modified time | relevance | path

Searched refs:PP_CAP (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/
Dvega10_powertune.c856 if (PP_CAP(PHM_PlatformCaps_SQRamping)) { in vega10_didt_set_mask()
863 if (PP_CAP(PHM_PlatformCaps_DBRamping)) { in vega10_didt_set_mask()
870 if (PP_CAP(PHM_PlatformCaps_TDRamping)) { in vega10_didt_set_mask()
877 if (PP_CAP(PHM_PlatformCaps_TCPRamping)) { in vega10_didt_set_mask()
884 if (PP_CAP(PHM_PlatformCaps_DBRRamping)) { in vega10_didt_set_mask()
889 if (PP_CAP(PHM_PlatformCaps_DiDtEDCEnable)) { in vega10_didt_set_mask()
890 if (PP_CAP(PHM_PlatformCaps_SQRamping)) { in vega10_didt_set_mask()
897 if (PP_CAP(PHM_PlatformCaps_DBRamping)) { in vega10_didt_set_mask()
904 if (PP_CAP(PHM_PlatformCaps_TDRamping)) { in vega10_didt_set_mask()
911 if (PP_CAP(PHM_PlatformCaps_TCPRamping)) { in vega10_didt_set_mask()
[all …]
Dsmu7_thermal.c40 if (PP_CAP(PHM_PlatformCaps_FanSpeedInTableIsRPM) && in smu7_fan_ctrl_get_fan_speed_info()
153 if (PP_CAP(PHM_PlatformCaps_ODFuzzyFanControlSupport)) { in smu7_fan_ctrl_start_smc_fan_control()
157 if (PP_CAP(PHM_PlatformCaps_FanSpeedInTableIsRPM)) in smu7_fan_ctrl_start_smc_fan_control()
208 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in smu7_fan_ctrl_set_fan_speed_percent()
239 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) { in smu7_fan_ctrl_reset_fan_speed_to_default()
268 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in smu7_fan_ctrl_set_fan_speed_rpm()
427 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) { in smu7_thermal_start_smc_fan_control()
Dsmu7_powertune.c865 block_en = PP_CAP(PHM_PlatformCaps_SQRamping) ? en : 0; in smu7_enable_didt()
871 block_en = PP_CAP(PHM_PlatformCaps_DBRamping) ? en : 0; in smu7_enable_didt()
877 block_en = PP_CAP(PHM_PlatformCaps_TDRamping) ? en : 0; in smu7_enable_didt()
883 block_en = PP_CAP(PHM_PlatformCaps_TCPRamping) ? en : 0; in smu7_enable_didt()
965 if (PP_CAP(PHM_PlatformCaps_SQRamping) || in smu7_enable_didt_config()
966 PP_CAP(PHM_PlatformCaps_DBRamping) || in smu7_enable_didt_config()
967 PP_CAP(PHM_PlatformCaps_TDRamping) || in smu7_enable_didt_config()
968 PP_CAP(PHM_PlatformCaps_TCPRamping)) { in smu7_enable_didt_config()
1032 if (PP_CAP(PHM_PlatformCaps_SQRamping) || in smu7_disable_didt_config()
1033 PP_CAP(PHM_PlatformCaps_DBRamping) || in smu7_disable_didt_config()
[all …]
Dvega10_thermal.c51 if (PP_CAP(PHM_PlatformCaps_FanSpeedInTableIsRPM) && in vega10_fan_ctrl_get_fan_speed_info()
265 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega10_fan_ctrl_set_fan_speed_percent()
295 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega10_fan_ctrl_reset_fan_speed_to_default()
320 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega10_fan_ctrl_set_fan_speed_rpm()
612 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega10_thermal_start_smc_fan_control()
Dvega20_powertune.c61 if (PP_CAP(PHM_PlatformCaps_PowerContainment)) { in vega20_power_control_set_level()
Dvega20_thermal.c147 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega20_fan_ctrl_set_fan_speed_percent()
195 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) { in vega20_fan_ctrl_set_fan_speed_rpm()
Dvega10_hwmgr.c440 if (PP_CAP(PHM_PlatformCaps_UVDDPM)) in vega10_init_dpm_defaults()
443 if (PP_CAP(PHM_PlatformCaps_VCEDPM)) in vega10_init_dpm_defaults()
452 if (PP_CAP(PHM_PlatformCaps_SclkDeepSleep) && in vega10_init_dpm_defaults()
569 if (PP_CAP(PHM_PlatformCaps_ClockStretcher)) { in vega10_get_evv_voltages()
877 if (PP_CAP(PHM_PlatformCaps_ControlVDDCI)) { in vega10_hwmgr_backend_init()
2346 if (PP_CAP(PHM_PlatformCaps_RegulatorHot) && in vega10_populate_gpio_parameters()
2359 if (PP_CAP(PHM_PlatformCaps_AutomaticDCTransition) && in vega10_populate_gpio_parameters()
2694 if (PP_CAP(PHM_PlatformCaps_RegulatorHot)) { in vega10_enable_vrhot_feature()
2902 if (PP_CAP(PHM_PlatformCaps_Falcon_QuickTransition)) { in vega10_start_dpm()
2952 if (PP_CAP(PHM_PlatformCaps_ThermalController)) { in vega10_enable_dpm_tasks()
[all …]
Dsmu8_hwmgr.c1229 if (PP_CAP(PHM_PlatformCaps_UVDPowerGating)) in smu8_dpm_powerdown_uvd()
1236 if (PP_CAP(PHM_PlatformCaps_UVDPowerGating)) { in smu8_dpm_powerup_uvd()
1240 PP_CAP(PHM_PlatformCaps_UVDDynamicPowerGating) ? 1 : 0); in smu8_dpm_powerup_uvd()
1253 if (PP_CAP(PHM_PlatformCaps_StablePState) || in smu8_dpm_update_vce_dpm()
1277 if (PP_CAP(PHM_PlatformCaps_VCEPowerGating)) in smu8_dpm_powerdown_vce()
1285 if (PP_CAP(PHM_PlatformCaps_VCEPowerGating)) in smu8_dpm_powerup_vce()
1848 if (PP_CAP(PHM_PlatformCaps_StablePState) || in smu8_dpm_update_uvd_dpm()
Dvega12_thermal.c283 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega12_thermal_start_smc_fan_control()
Dvega12_hwmgr.c891 if (PP_CAP(PHM_PlatformCaps_PowerContainment)) { in vega12_power_control_set_level()
1621 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega12_set_fan_control_mode()
1625 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega12_set_fan_control_mode()
2191 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2215 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2259 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2278 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2297 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2316 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
Dvega20_hwmgr.c2726 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega20_set_fan_control_mode()
2730 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega20_set_fan_control_mode()
3650 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
3674 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
3734 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
3753 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
3772 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
3791 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/inc/
Dhardwaremanager.h302 #define PP_CAP(c) phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, (c)) macro
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/smumgr/
Dci_smumgr.c2868 if (PP_CAP(PHM_PlatformCaps_UVDDPM) || uvd_table->count <= 0) in ci_update_uvd_smc_table()
2881 if (hwmgr->dpm_level & profile_mode_mask || !PP_CAP(PHM_PlatformCaps_UVDDPM)) in ci_update_uvd_smc_table()
2912 if (hwmgr->dpm_level & profile_mode_mask || !PP_CAP(PHM_PlatformCaps_VCEDPM)) in ci_update_vce_smc_table()