Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_thermal.c40 if (PP_CAP(PHM_PlatformCaps_FanSpeedInTableIsRPM) && in smu7_fan_ctrl_get_fan_speed_info()
150 if (PP_CAP(PHM_PlatformCaps_ODFuzzyFanControlSupport)) { in smu7_fan_ctrl_start_smc_fan_control()
154 if (PP_CAP(PHM_PlatformCaps_FanSpeedInTableIsRPM)) in smu7_fan_ctrl_start_smc_fan_control()
181 !PP_CAP(PHM_PlatformCaps_customThermalManagement)) in smu7_fan_ctrl_start_smc_fan_control()
215 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in smu7_fan_ctrl_set_fan_speed_pwm()
246 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) { in smu7_fan_ctrl_reset_fan_speed_to_default()
275 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in smu7_fan_ctrl_set_fan_speed_rpm()
431 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) { in smu7_thermal_start_smc_fan_control()
H A Dvega10_powertune.c806 if (PP_CAP(PHM_PlatformCaps_SQRamping)) { in vega10_didt_set_mask()
813 if (PP_CAP(PHM_PlatformCaps_DBRamping)) { in vega10_didt_set_mask()
820 if (PP_CAP(PHM_PlatformCaps_TDRamping)) { in vega10_didt_set_mask()
827 if (PP_CAP(PHM_PlatformCaps_TCPRamping)) { in vega10_didt_set_mask()
834 if (PP_CAP(PHM_PlatformCaps_DBRRamping)) { in vega10_didt_set_mask()
839 if (PP_CAP(PHM_PlatformCaps_DiDtEDCEnable)) { in vega10_didt_set_mask()
840 if (PP_CAP(PHM_PlatformCaps_SQRamping)) { in vega10_didt_set_mask()
847 if (PP_CAP(PHM_PlatformCaps_DBRamping)) { in vega10_didt_set_mask()
854 if (PP_CAP(PHM_PlatformCaps_TDRamping)) { in vega10_didt_set_mask()
861 if (PP_CAP(PHM_PlatformCaps_TCPRamping)) { in vega10_didt_set_mask()
[all …]
H A Dsmu7_powertune.c864 block_en = PP_CAP(PHM_PlatformCaps_SQRamping) ? en : 0; in smu7_enable_didt()
870 block_en = PP_CAP(PHM_PlatformCaps_DBRamping) ? en : 0; in smu7_enable_didt()
876 block_en = PP_CAP(PHM_PlatformCaps_TDRamping) ? en : 0; in smu7_enable_didt()
882 block_en = PP_CAP(PHM_PlatformCaps_TCPRamping) ? en : 0; in smu7_enable_didt()
968 if (PP_CAP(PHM_PlatformCaps_SQRamping) || in smu7_enable_didt_config()
969 PP_CAP(PHM_PlatformCaps_DBRamping) || in smu7_enable_didt_config()
970 PP_CAP(PHM_PlatformCaps_TDRamping) || in smu7_enable_didt_config()
971 PP_CAP(PHM_PlatformCaps_TCPRamping)) { in smu7_enable_didt_config()
1063 if (PP_CAP(PHM_PlatformCaps_SQRamping) || in smu7_disable_didt_config()
1064 PP_CAP(PHM_PlatformCaps_DBRamping) || in smu7_disable_didt_config()
[all …]
H A Dvega10_thermal.c50 if (PP_CAP(PHM_PlatformCaps_FanSpeedInTableIsRPM) && in vega10_fan_ctrl_get_fan_speed_info()
260 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega10_fan_ctrl_set_fan_speed_pwm()
290 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega10_fan_ctrl_reset_fan_speed_to_default()
315 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()
H A Dvega20_powertune.c63 if (PP_CAP(PHM_PlatformCaps_PowerContainment)) { in vega20_power_control_set_level()
H A Dvega20_thermal.c149 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega20_fan_ctrl_set_fan_speed_pwm()
197 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) { in vega20_fan_ctrl_set_fan_speed_rpm()
H A Dsmu8_hwmgr.c1273 if (PP_CAP(PHM_PlatformCaps_UVDPowerGating)) in smu8_dpm_powerdown_uvd()
1280 if (PP_CAP(PHM_PlatformCaps_UVDPowerGating)) { in smu8_dpm_powerup_uvd()
1284 PP_CAP(PHM_PlatformCaps_UVDDynamicPowerGating) ? 1 : 0, in smu8_dpm_powerup_uvd()
1298 if (PP_CAP(PHM_PlatformCaps_StablePState) || in smu8_dpm_update_vce_dpm()
1327 if (PP_CAP(PHM_PlatformCaps_VCEPowerGating)) in smu8_dpm_powerdown_vce()
1336 if (PP_CAP(PHM_PlatformCaps_VCEPowerGating)) in smu8_dpm_powerup_vce()
1913 if (PP_CAP(PHM_PlatformCaps_StablePState) || in smu8_dpm_update_uvd_dpm()
H A Dvega10_hwmgr.c442 if (PP_CAP(PHM_PlatformCaps_UVDDPM)) in vega10_init_dpm_defaults()
445 if (PP_CAP(PHM_PlatformCaps_VCEDPM)) in vega10_init_dpm_defaults()
453 if (PP_CAP(PHM_PlatformCaps_SclkDeepSleep) && in vega10_init_dpm_defaults()
578 if (PP_CAP(PHM_PlatformCaps_ClockStretcher)) { in vega10_get_evv_voltages()
884 if (PP_CAP(PHM_PlatformCaps_ControlVDDCI)) { in vega10_hwmgr_backend_init()
2418 if (PP_CAP(PHM_PlatformCaps_RegulatorHot) && in vega10_populate_gpio_parameters()
2431 if (PP_CAP(PHM_PlatformCaps_AutomaticDCTransition) && in vega10_populate_gpio_parameters()
2778 if (PP_CAP(PHM_PlatformCaps_RegulatorHot)) { in vega10_enable_vrhot_feature()
2987 if (PP_CAP(PHM_PlatformCaps_Falcon_QuickTransition)) { in vega10_start_dpm()
3076 if (PP_CAP(PHM_PlatformCaps_ThermalController)) { in vega10_enable_dpm_tasks()
[all …]
H A Dvega12_thermal.c278 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega12_thermal_start_smc_fan_control()
H A Dvega12_hwmgr.c985 if (PP_CAP(PHM_PlatformCaps_PowerContainment)) { in vega12_power_control_set_level()
1766 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega12_set_fan_control_mode()
1770 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega12_set_fan_control_mode()
2378 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2402 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2446 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2465 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2484 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2503 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
H A Dvega20_hwmgr.c2787 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega20_set_fan_control_mode()
2791 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega20_set_fan_control_mode()
3760 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
3784 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
3844 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
3863 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
3882 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
3901 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
/linux/drivers/gpu/drm/amd/pm/powerplay/inc/
H A Dhardwaremanager.h301 #define PP_CAP(c) phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, (c)) macro
/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dci_smumgr.c2871 if (PP_CAP(PHM_PlatformCaps_UVDDPM) || uvd_table->count <= 0) in ci_update_uvd_smc_table()
2884 if (hwmgr->dpm_level & profile_mode_mask || !PP_CAP(PHM_PlatformCaps_UVDDPM)) in ci_update_uvd_smc_table()
2916 if (hwmgr->dpm_level & profile_mode_mask || !PP_CAP(PHM_PlatformCaps_VCEDPM)) in ci_update_vce_smc_table()