Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
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()
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_powertune.c867 block_en = PP_CAP(PHM_PlatformCaps_SQRamping) ? en : 0; in smu7_enable_didt()
873 block_en = PP_CAP(PHM_PlatformCaps_DBRamping) ? en : 0; in smu7_enable_didt()
879 block_en = PP_CAP(PHM_PlatformCaps_TDRamping) ? en : 0; in smu7_enable_didt()
885 block_en = PP_CAP(PHM_PlatformCaps_TCPRamping) ? en : 0; in smu7_enable_didt()
971 if (PP_CAP(PHM_PlatformCaps_SQRamping) || in smu7_enable_didt_config()
972 PP_CAP(PHM_PlatformCaps_DBRamping) || in smu7_enable_didt_config()
973 PP_CAP(PHM_PlatformCaps_TDRamping) || in smu7_enable_didt_config()
974 PP_CAP(PHM_PlatformCaps_TCPRamping)) { in smu7_enable_didt_config()
1066 if (PP_CAP(PHM_PlatformCaps_SQRamping) || in smu7_disable_didt_config()
1067 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()
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()
Dvega20_powertune.c63 if (PP_CAP(PHM_PlatformCaps_PowerContainment)) { in vega20_power_control_set_level()
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()
Dvega12_thermal.c276 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega12_thermal_start_smc_fan_control()
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()
2406 if (PP_CAP(PHM_PlatformCaps_RegulatorHot) && in vega10_populate_gpio_parameters()
2419 if (PP_CAP(PHM_PlatformCaps_AutomaticDCTransition) && in vega10_populate_gpio_parameters()
2761 if (PP_CAP(PHM_PlatformCaps_RegulatorHot)) { in vega10_enable_vrhot_feature()
2972 if (PP_CAP(PHM_PlatformCaps_Falcon_QuickTransition)) { in vega10_start_dpm()
3037 if (PP_CAP(PHM_PlatformCaps_ThermalController)) { in vega10_enable_dpm_tasks()
[all …]
Dvega12_hwmgr.c976 if (PP_CAP(PHM_PlatformCaps_PowerContainment)) { in vega12_power_control_set_level()
1735 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega12_set_fan_control_mode()
1739 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega12_set_fan_control_mode()
2347 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2371 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2415 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2434 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2453 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
2472 if (PP_CAP(PHM_PlatformCaps_UMDPState)) { in vega12_apply_clocks_adjust_rules()
Dvega20_hwmgr.c2775 if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) in vega20_set_fan_control_mode()
2779 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()
/Linux-v6.1/drivers/gpu/drm/amd/pm/powerplay/inc/
Dhardwaremanager.h302 #define PP_CAP(c) phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, (c)) macro
/Linux-v6.1/drivers/gpu/drm/amd/pm/powerplay/smumgr/
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()