/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | smu7_powertune.c | 387 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_SQRamping)) { in smu7_enable_didt() 396 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_DBRamping)) { in smu7_enable_didt() 405 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_TDRamping)) { in smu7_enable_didt() 414 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_TCPRamping)) { in smu7_enable_didt() 505 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_SQRamping) || in smu7_enable_didt_config() 506 phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_DBRamping) || in smu7_enable_didt_config() 507 phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_TDRamping) || in smu7_enable_didt_config() 508 phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_TCPRamping)) { in smu7_enable_didt_config() 546 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_SQRamping) || in smu7_disable_didt_config() 547 phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_DBRamping) || in smu7_disable_didt_config() [all …]
|
D | hardwaremanager.c | 50 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in phm_setup_asic() 66 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in phm_power_down_asic() 89 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in phm_set_power_state() 106 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in phm_enable_dynamic_state_management() 130 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in phm_disable_dynamic_state_management() 202 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in phm_enable_clock_power_gatings() 216 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in phm_display_configuration_changed() 229 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in phm_notify_smc_display_config_after_ps_adjustment()
|
D | smu7_thermal.c | 40 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_fan_ctrl_get_fan_speed_info() 156 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_fan_ctrl_start_smc_fan_control() 161 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_fan_ctrl_start_smc_fan_control() 211 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_fan_ctrl_set_fan_speed_percent() 243 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_fan_ctrl_reset_fan_speed_to_default() 272 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_fan_ctrl_set_fan_speed_rpm() 433 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in tf_smu7_thermal_start_smc_fan_control()
|
D | cz_clockpowergating.c | 122 phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in cz_enable_disable_uvd_dpm() 142 if (enable && phm_cap_enabled( in cz_enable_disable_vce_dpm() 196 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in cz_dpm_powergate_vce()
|
D | cz_hwmgr.c | 741 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in cz_tf_update_sclk_limit() 764 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in cz_tf_update_sclk_limit() 782 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in cz_tf_set_deep_sleep_sclk_threshold() 1131 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_StablePState)) in cz_apply_state_adjust_rules() 1331 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in cz_dpm_powerdown_uvd() 1340 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in cz_dpm_powerup_uvd() 1342 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in cz_dpm_powerup_uvd() 1365 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in cz_dpm_update_uvd_dpm() 1394 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in cz_dpm_update_vce_dpm() 1427 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in cz_dpm_powerdown_vce() [all …]
|
D | smu7_clockpowergating.c | 81 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_powerup_uvd() 112 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_powerdown_samu() 121 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_powerup_samu()
|
D | smu7_hwmgr.c | 851 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_enable_vrhot_gpio_interrupt() 888 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_enable_deep_sleep_master_switch() 908 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_disable_deep_sleep_master_switch() 1017 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_start_dpm() 1115 !phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_set_dpm_event_sources() 1187 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_enable_dpm_tasks() 1192 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_enable_dpm_tasks() 1289 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_disable_dpm_tasks() 1388 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_init_dpm_defaults() 1396 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_init_dpm_defaults() [all …]
|
D | hwmgr.c | 244 return phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_UVDPowerGating); in phm_cf_want_uvd_power_gating() 249 return phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_VCEPowerGating); in phm_cf_want_vce_power_gating()
|
D | processpptables.c | 1038 && !phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in init_overdrive_limits() 1355 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in get_cac_leakage_table()
|
/drivers/gpu/drm/amd/powerplay/eventmgr/ |
D | eventinit.c | 44 …if (phm_cap_enabled(eventmgr->platform_descriptor->platformCaps, PHM_PlatformCaps_PowerPlaySupport… in pem_init_feature_info() 114 …if (phm_cap_enabled(eventmgr->platform_descriptor->platformCaps, PHM_PlatformCaps_ODFuzzyFanContro… in pem_init_feature_info() 115 …phm_cap_enabled(eventmgr->platform_descriptor->platformCaps, PHM_PlatformCaps_GeminiRegulatorFanCo… in pem_init_feature_info()
|
D | eventtasks.c | 61 …if (phm_cap_enabled(eventmgr->platform_descriptor->platformCaps, PHM_PlatformCaps_DynamicPatchPowe… in pem_task_adjust_power_state() 428 …if (phm_cap_enabled(eventmgr->platform_descriptor->platformCaps, PHM_PlatformCaps_ThermalControlle… in pem_task_initialize_thermal_controller()
|
/drivers/gpu/drm/amd/powerplay/smumgr/ |
D | fiji_smc.c | 431 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_populate_pm_fuses() 664 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_calculate_sclk_params() 747 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_SclkDeepSleep)) in fiji_populate_single_graphic_level() 1749 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table() 1753 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table() 1820 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table() 1894 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table() 1896 phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table() 2077 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_update_sclk_threshold() 2186 if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_update_uvd_smc_table() [all …]
|
D | polaris10_smc.c | 321 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_populate_pm_fuses() 712 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_SclkDeepSleep)) in polaris10_populate_single_graphic_level() 786 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_populate_all_graphic_levels() 1637 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table() 1641 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table() 1704 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table() 1780 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_RegulatorHot) in polaris10_init_smc_table() 1781 …&& phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_CombinePCCWithThermal… in polaris10_init_smc_table() 2007 if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_update_uvd_smc_table() 2009 phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_update_uvd_smc_table() [all …]
|
D | tonga_smc.c | 486 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in tonga_calculate_sclk_params() 568 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in tonga_populate_single_graphic_level() 767 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in tonga_calculate_mclk_params() 1993 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in tonga_populate_pm_fuses() 2250 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in tonga_init_smc_table() 2255 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in tonga_init_smc_table() 2326 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in tonga_init_smc_table() 2420 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in tonga_init_smc_table() 2422 phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in tonga_init_smc_table() 2495 if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in tonga_thermal_setup_fan_table() [all …]
|
D | iceland_smc.c | 233 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_EVV)) { in iceland_populate_bapm_vddc_vid_sidd() 270 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in iceland_populate_pm_fuses() 681 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in iceland_calculate_sclk_params() 786 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in iceland_populate_single_graphic_level() 960 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in iceland_calculate_mclk_params() 1841 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in iceland_init_smc_table() 1846 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in iceland_init_smc_table() 2006 …if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_MicrocodeFanControl… in iceland_thermal_setup_fan_table() 2092 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in iceland_update_sclk_threshold()
|
/drivers/gpu/drm/amd/powerplay/inc/ |
D | hardwaremanager.h | 260 static inline bool phm_cap_enabled(const uint32_t *caps, enum phm_platform_caps c) in phm_cap_enabled() function
|
/drivers/gpu/drm/amd/powerplay/ |
D | amd_powerplay.c | 1015 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_PowerContainment)) { in amd_powerplay_get_current_clocks() 1075 …if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_DynamicPatchPowerSta… in amd_powerplay_get_display_mode_validation_clocks()
|