Home
last modified time | relevance | path

Searched refs:phm_cap_enabled (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/
Dsmu9_baco.c37 if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_BACO)) in smu9_baco_get_capability()
Dvega20_baco.c46 if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_BACO)) in vega20_baco_get_capability()
Dsmu7_hwmgr.c978 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_enable_vrhot_gpio_interrupt()
1015 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_enable_deep_sleep_master_switch()
1035 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_disable_deep_sleep_master_switch()
1179 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_start_dpm()
1277 !phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_set_dpm_event_sources()
1344 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_enable_dpm_tasks()
1349 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_enable_dpm_tasks()
1486 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_disable_dpm_tasks()
1624 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_init_dpm_defaults()
1632 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_init_dpm_defaults()
[all …]
Dsmu8_hwmgr.c717 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu8_update_sclk_limit()
737 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu8_update_sclk_limit()
753 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu8_set_deep_sleep_sclk_threshold()
1058 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_StablePState)) in smu8_apply_state_adjust_rules()
1355 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_SclkDeepSleep)) { in smu8_dpm_get_pp_table_entry_callback()
1825 phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu8_enable_disable_uvd_dpm()
1875 if (enable && phm_cap_enabled( in smu8_enable_disable_vce_dpm()
Dsmu7_clockpowergating.c67 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_powerup_uvd()
Dsmu_helper.c194 return phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_UVDPowerGating); in phm_cf_want_uvd_power_gating()
199 return phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_VCEPowerGating); in phm_cf_want_vce_power_gating()
Dhardwaremanager.c244 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in phm_start_thermal_controller()
Dsmu10_hwmgr.c760 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_SclkDeepSleep)) { in smu10_dpm_get_pp_table_entry_callback()
Dprocesspptables.c1390 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in get_cac_leakage_table()
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/smumgr/
Dvegam_smumgr.c353 if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in vegam_update_uvd_smc_table()
355 phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in vegam_update_uvd_smc_table()
370 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in vegam_update_vce_smc_table()
388 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_StablePState)) in vegam_update_vce_smc_table()
838 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_SclkDeepSleep)) in vegam_populate_single_graphic_level()
901 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in vegam_populate_all_graphic_levels()
1856 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in vegam_populate_pm_fuses()
1947 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in vegam_init_smc_table()
1951 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in vegam_init_smc_table()
2010 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in vegam_init_smc_table()
[all …]
Dfiji_smumgr.c696 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_populate_pm_fuses()
900 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_calculate_sclk_params()
980 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_SclkDeepSleep)) in fiji_populate_single_graphic_level()
1941 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table()
1945 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table()
2008 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table()
2082 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table()
2084 phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table()
2272 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_update_sclk_threshold()
2390 if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_update_uvd_smc_table()
[all …]
Dpolaris10_smumgr.c591 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_populate_pm_fuses()
946 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_SclkDeepSleep)) in polaris10_populate_single_graphic_level()
1013 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_populate_all_graphic_levels()
1839 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table()
1843 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table()
1902 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table()
1978 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_RegulatorHot) in polaris10_init_smc_table()
1979 …&& phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_CombinePCCWithThermal… in polaris10_init_smc_table()
2199 if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_update_uvd_smc_table()
2201 phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_update_uvd_smc_table()
[all …]
Dtonga_smumgr.c581 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in tonga_calculate_sclk_params()
661 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in tonga_populate_single_graphic_level()
847 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in tonga_calculate_mclk_params()
2000 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in tonga_populate_pm_fuses()
2241 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in tonga_init_smc_table()
2246 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in tonga_init_smc_table()
2313 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in tonga_init_smc_table()
2407 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in tonga_init_smc_table()
2409 phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in tonga_init_smc_table()
2472 if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in tonga_thermal_setup_fan_table()
[all …]
Diceland_smumgr.c403 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_EVV)) { in iceland_populate_bapm_vddc_vid_sidd()
440 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in iceland_populate_pm_fuses()
838 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in iceland_calculate_sclk_params()
934 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in iceland_populate_single_graphic_level()
1095 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in iceland_calculate_mclk_params()
1944 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in iceland_init_smc_table()
1949 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in iceland_init_smc_table()
2096 …if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_MicrocodeFanControl… in iceland_thermal_setup_fan_table()
2182 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in iceland_update_sclk_threshold()
Dci_smumgr.c338 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_calculate_sclk_params()
445 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_populate_single_graphic_level()
591 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_EVV)) { in ci_populate_bapm_vddc_vid_sidd()
677 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_populate_pm_fuses()
1067 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_calculate_mclk_params()
1955 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_init_smc_table()
1960 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_init_smc_table()
2134 …if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_MicrocodeFanControl… in ci_thermal_setup_fan_table()
2217 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_update_sclk_threshold()
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/inc/
Dhardwaremanager.h296 static inline bool phm_cap_enabled(const uint32_t *caps, enum phm_platform_caps c) in phm_cap_enabled() function
302 #define PP_CAP(c) phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, (c))
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/
Damd_powerplay.c1079 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in pp_get_current_clocks()
1213 …if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_DynamicPatchPowerSta… in pp_get_display_mode_validation_clocks()