Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega10_powertune.c833 if (PP_CAP(PHM_PlatformCaps_SQRamping)) { in vega10_didt_set_mask()
840 if (PP_CAP(PHM_PlatformCaps_DBRamping)) { in vega10_didt_set_mask()
847 if (PP_CAP(PHM_PlatformCaps_TDRamping)) { in vega10_didt_set_mask()
854 if (PP_CAP(PHM_PlatformCaps_TCPRamping)) { in vega10_didt_set_mask()
861 if (PP_CAP(PHM_PlatformCaps_DBRRamping)) { in vega10_didt_set_mask()
866 if (PP_CAP(PHM_PlatformCaps_DiDtEDCEnable)) { in vega10_didt_set_mask()
867 if (PP_CAP(PHM_PlatformCaps_SQRamping)) { in vega10_didt_set_mask()
874 if (PP_CAP(PHM_PlatformCaps_DBRamping)) { in vega10_didt_set_mask()
881 if (PP_CAP(PHM_PlatformCaps_TDRamping)) { in vega10_didt_set_mask()
888 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()
209 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in smu7_fan_ctrl_set_fan_speed_percent()
240 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) { in smu7_fan_ctrl_reset_fan_speed_to_default()
269 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in smu7_fan_ctrl_set_fan_speed_rpm()
428 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()
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()
1036 if (PP_CAP(PHM_PlatformCaps_SQRamping) || in smu7_disable_didt_config()
1037 PP_CAP(PHM_PlatformCaps_DBRamping) || in smu7_disable_didt_config()
[all …]
Dvega10_thermal.c50 if (PP_CAP(PHM_PlatformCaps_FanSpeedInTableIsRPM) && in vega10_fan_ctrl_get_fan_speed_info()
264 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega10_fan_ctrl_set_fan_speed_percent()
294 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega10_fan_ctrl_reset_fan_speed_to_default()
319 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega10_fan_ctrl_set_fan_speed_rpm()
624 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega10_thermal_start_smc_fan_control()
Dvega20_powertune.c63 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()
Dsmu8_hwmgr.c1250 if (PP_CAP(PHM_PlatformCaps_UVDPowerGating)) in smu8_dpm_powerdown_uvd()
1257 if (PP_CAP(PHM_PlatformCaps_UVDPowerGating)) { in smu8_dpm_powerup_uvd()
1261 PP_CAP(PHM_PlatformCaps_UVDDynamicPowerGating) ? 1 : 0, in smu8_dpm_powerup_uvd()
1275 if (PP_CAP(PHM_PlatformCaps_StablePState) || in smu8_dpm_update_vce_dpm()
1304 if (PP_CAP(PHM_PlatformCaps_VCEPowerGating)) in smu8_dpm_powerdown_vce()
1313 if (PP_CAP(PHM_PlatformCaps_VCEPowerGating)) in smu8_dpm_powerup_vce()
1890 if (PP_CAP(PHM_PlatformCaps_StablePState) || in smu8_dpm_update_uvd_dpm()
Dvega10_hwmgr.c443 if (PP_CAP(PHM_PlatformCaps_UVDDPM)) in vega10_init_dpm_defaults()
446 if (PP_CAP(PHM_PlatformCaps_VCEDPM)) in vega10_init_dpm_defaults()
454 if (PP_CAP(PHM_PlatformCaps_SclkDeepSleep) && in vega10_init_dpm_defaults()
570 if (PP_CAP(PHM_PlatformCaps_ClockStretcher)) { in vega10_get_evv_voltages()
876 if (PP_CAP(PHM_PlatformCaps_ControlVDDCI)) { in vega10_hwmgr_backend_init()
2402 if (PP_CAP(PHM_PlatformCaps_RegulatorHot) && in vega10_populate_gpio_parameters()
2415 if (PP_CAP(PHM_PlatformCaps_AutomaticDCTransition) && in vega10_populate_gpio_parameters()
2758 if (PP_CAP(PHM_PlatformCaps_RegulatorHot)) { in vega10_enable_vrhot_feature()
2969 if (PP_CAP(PHM_PlatformCaps_Falcon_QuickTransition)) { in vega10_start_dpm()
3034 if (PP_CAP(PHM_PlatformCaps_ThermalController)) { in vega10_enable_dpm_tasks()
[all …]
Dvega12_thermal.c285 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega12_thermal_start_smc_fan_control()
Dvega12_hwmgr.c977 if (PP_CAP(PHM_PlatformCaps_PowerContainment)) { in vega12_power_control_set_level()
1736 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega12_set_fan_control_mode()
1740 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega12_set_fan_control_mode()
2346 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2370 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2414 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2433 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2452 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2471 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
Dvega20_hwmgr.c2776 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega20_set_fan_control_mode()
2780 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega20_set_fan_control_mode()
3747 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
3771 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
3831 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
3850 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
3869 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
3888 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/
Dhardwaremanager.h302 #define PP_CAP(c) phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, (c)) macro
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dci_smumgr.c2869 if (PP_CAP(PHM_PlatformCaps_UVDDPM) || uvd_table->count <= 0) in ci_update_uvd_smc_table()
2882 if (hwmgr->dpm_level & profile_mode_mask || !PP_CAP(PHM_PlatformCaps_UVDDPM)) in ci_update_uvd_smc_table()
2914 if (hwmgr->dpm_level & profile_mode_mask || !PP_CAP(PHM_PlatformCaps_VCEDPM)) in ci_update_vce_smc_table()