Home
last modified time | relevance | path

Searched refs:platformCaps (Results 1 – 18 of 18) sorted by relevance

/drivers/gpu/drm/amd/powerplay/hwmgr/
Dhwmgr.c244 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()
636 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_DisableVoltageTransition); in hwmgr_init_default_caps()
637 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_DisableEngineTransition); in hwmgr_init_default_caps()
638 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_DisableMemoryTransition); in hwmgr_init_default_caps()
639 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_DisableMGClockGating); in hwmgr_init_default_caps()
640 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_DisableMGCGTSSM); in hwmgr_init_default_caps()
641 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_DisableLSClockGating); in hwmgr_init_default_caps()
642 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_Force3DClockSupport); in hwmgr_init_default_caps()
643 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_DisableLightSleep); in hwmgr_init_default_caps()
[all …]
Dsmu7_powertune.c387 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 …]
Dhardwaremanager.c50 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()
Dcz_hwmgr.c203 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in cz_initialize_dpm_defaults()
206 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in cz_initialize_dpm_defaults()
209 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in cz_initialize_dpm_defaults()
214 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in cz_initialize_dpm_defaults()
221 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in cz_initialize_dpm_defaults()
224 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in cz_initialize_dpm_defaults()
226 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in cz_initialize_dpm_defaults()
234 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in cz_initialize_dpm_defaults()
237 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in cz_initialize_dpm_defaults()
239 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in cz_initialize_dpm_defaults()
[all …]
Dsmu7_thermal.c40 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()
Dcz_clockpowergating.c122 phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in cz_enable_disable_uvd_dpm()
143 hwmgr->platform_descriptor.platformCaps, in cz_enable_disable_vce_dpm()
196 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in cz_dpm_powergate_vce()
Dsmu7_hwmgr.c851 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 …]
Dsmu7_clockpowergating.c81 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()
Dprocess_pptables_v1_0.c43 phm_cap_set(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap()
45 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap()
279 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_dpm_2_parameters()
308 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_dpm_2_parameters()
863 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_over_drive_limits()
927 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_thermal_controller()
Dprocesspptables.c447 phm_cap_set(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap()
449 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap()
1038 && !phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in init_overdrive_limits()
1040 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_overdrive_limits()
1355 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in get_cac_leakage_table()
1428 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_dpm2_parameters()
1460 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_dpm2_parameters()
/drivers/gpu/drm/amd/powerplay/smumgr/
Dfiji_smc.c431 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()
1559 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in fiji_populate_clock_stretcher_data_table()
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()
1857 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table()
1861 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table()
1868 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table()
[all …]
Dpolaris10_smc.c321 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()
1412 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in polaris10_populate_clock_stretcher_data_table()
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()
1747 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table()
1754 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table()
1758 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table()
[all …]
Dtonga_smc.c486 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()
1633 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in tonga_populate_clock_stretcher_data_table()
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()
2377 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in tonga_init_smc_table()
2381 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in tonga_init_smc_table()
[all …]
Diceland_smc.c233 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()
2010 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in iceland_thermal_setup_fan_table()
2016 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_MicrocodeFanControl); in iceland_thermal_setup_fan_table()
[all …]
/drivers/gpu/drm/amd/powerplay/eventmgr/
Deventinit.c44 …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()
Deventtasks.c61 …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/inc/
Dhardwaremanager.h305 uint32_t platformCaps[PHM_MAX_NUM_CAPS_ULONG_ENTRIES]; member
/drivers/gpu/drm/amd/powerplay/
Damd_powerplay.c1015 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()