Home
last modified time | relevance | path

Searched refs:PP_CAP (Results 1 - 25 of 26) sorted by relevance

12

/kernel/linux/linux-6.6/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_TCPRampin 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_DBRampin 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 Dvega12_thermal.c278 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega12_thermal_start_smc_fan_control()
H A Dsmu8_hwmgr.c1262 if (PP_CAP(PHM_PlatformCaps_UVDPowerGating)) in smu8_dpm_powerdown_uvd()
1269 if (PP_CAP(PHM_PlatformCaps_UVDPowerGating)) { in smu8_dpm_powerup_uvd()
1273 PP_CAP(PHM_PlatformCaps_UVDDynamicPowerGating) ? 1 : 0, in smu8_dpm_powerup_uvd()
1287 if (PP_CAP(PHM_PlatformCaps_StablePState) || in smu8_dpm_update_vce_dpm()
1316 if (PP_CAP(PHM_PlatformCaps_VCEPowerGating)) in smu8_dpm_powerdown_vce()
1325 if (PP_CAP(PHM_PlatformCaps_VCEPowerGating)) in smu8_dpm_powerup_vce()
1902 if (PP_CAP(PHM_PlatformCaps_StablePState) || in smu8_dpm_update_uvd_dpm()
H A Dvega12_hwmgr.c975 if (PP_CAP(PHM_PlatformCaps_PowerContainment)) { in vega12_power_control_set_level()
1756 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega12_set_fan_control_mode()
1760 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega12_set_fan_control_mode()
2368 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2392 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2436 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2455 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2474 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2493 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
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()
569 if (PP_CAP(PHM_PlatformCaps_ClockStretcher)) { in vega10_get_evv_voltages()
875 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()
2757 if (PP_CAP(PHM_PlatformCaps_RegulatorHot)) { in vega10_enable_vrhot_feature()
2968 if (PP_CAP(PHM_PlatformCaps_Falcon_QuickTransition)) { in vega10_start_dpm()
3057 if (PP_CAP(PHM_PlatformCaps_ThermalControlle in vega10_enable_dpm_tasks()
[all...]
H A 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()
3749 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
3773 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
3833 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
3852 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
3871 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
3890 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega20_apply_clocks_adjust_rules()
/kernel/linux/linux-5.10/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()
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()
H A 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_TCPRampin in vega10_didt_set_mask()
[all...]
H A 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_DBRampin 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()
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()
H A Dvega20_powertune.c63 if (PP_CAP(PHM_PlatformCaps_PowerContainment)) { in vega20_power_control_set_level()
H A 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()
H A 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_ThermalControlle in vega10_enable_dpm_tasks()
[all...]
H A Dvega12_thermal.c285 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega12_thermal_start_smc_fan_control()
H A 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()
H A 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()
H A 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/
H A Dhardwaremanager.h302 #define PP_CAP(c) phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, (c)) macro
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/inc/
H A Dhardwaremanager.h301 #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/
H A 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()

Completed in 52 milliseconds

12