/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
D | vegam_smumgr.c | 353 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() 371 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in vegam_update_vce_smc_table() 389 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_StablePState)) in vegam_update_vce_smc_table() 842 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_SclkDeepSleep)) in vegam_populate_single_graphic_level() 905 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in vegam_populate_all_graphic_levels() 1850 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in vegam_populate_pm_fuses() 1942 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in vegam_init_smc_table() 1946 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in vegam_init_smc_table() 2005 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in vegam_init_smc_table() [all …]
|
D | fiji_smumgr.c | 694 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_populate_pm_fuses() 898 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_calculate_sclk_params() 976 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_SclkDeepSleep)) in fiji_populate_single_graphic_level() 1936 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table() 1940 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table() 2003 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table() 2077 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table() 2079 phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table() 2269 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_update_sclk_threshold() 2387 if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_update_uvd_smc_table() [all …]
|
D | polaris10_smumgr.c | 609 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_populate_pm_fuses() 995 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_SclkDeepSleep)) in polaris10_populate_single_graphic_level() 1079 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_populate_all_graphic_levels() 1933 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table() 1937 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table() 2002 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table() 2054 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table() 2083 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_RegulatorHot) in polaris10_init_smc_table() 2084 …&& phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_CombinePCCWithThermal… in polaris10_init_smc_table() 2303 if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_update_uvd_smc_table() [all …]
|
D | tonga_smumgr.c | 581 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 …]
|
D | iceland_smumgr.c | 403 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()
|
D | ci_smumgr.c | 341 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_calculate_sclk_params() 448 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_populate_single_graphic_level() 594 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_EVV)) { in ci_populate_bapm_vddc_vid_sidd() 680 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_populate_pm_fuses() 1070 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_calculate_mclk_params() 1958 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_init_smc_table() 1963 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_init_smc_table() 2137 …if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_MicrocodeFanControl… in ci_thermal_setup_fan_table() 2220 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_update_sclk_threshold()
|
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | smu9_baco.c | 37 if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_BACO)) in smu9_baco_get_capability()
|
D | smu7_baco.c | 42 if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_BACO)) in smu7_baco_get_capability()
|
D | vega20_baco.c | 46 if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_BACO)) in vega20_baco_get_capability()
|
D | smu7_hwmgr.c | 1092 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_enable_vrhot_gpio_interrupt() 1130 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_enable_deep_sleep_master_switch() 1151 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_disable_deep_sleep_master_switch() 1311 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_start_dpm() 1411 !phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_set_dpm_event_sources() 1583 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_enable_dpm_tasks() 1588 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_enable_dpm_tasks() 1741 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_disable_dpm_tasks() 1894 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_init_dpm_defaults() 1902 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_init_dpm_defaults() [all …]
|
D | smu8_hwmgr.c | 720 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu8_update_sclk_limit() 741 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu8_update_sclk_limit() 758 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu8_set_deep_sleep_sclk_threshold() 1087 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_StablePState)) in smu8_apply_state_adjust_rules() 1396 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_SclkDeepSleep)) { in smu8_dpm_get_pp_table_entry_callback() 1875 phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu8_enable_disable_uvd_dpm() 1930 if (enable && phm_cap_enabled( in smu8_enable_disable_vce_dpm()
|
D | smu_helper.c | 195 return phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_UVDPowerGating); in phm_cf_want_uvd_power_gating() 200 return phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_VCEPowerGating); in phm_cf_want_vce_power_gating()
|
D | smu7_clockpowergating.c | 70 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_powerup_uvd()
|
D | hardwaremanager.c | 255 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in phm_start_thermal_controller()
|
D | smu10_hwmgr.c | 902 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_SclkDeepSleep)) { in smu10_dpm_get_pp_table_entry_callback()
|
D | processpptables.c | 1498 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in get_cac_leakage_table()
|
/drivers/gpu/drm/amd/pm/powerplay/inc/ |
D | hardwaremanager.h | 296 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))
|
/drivers/gpu/drm/amd/pm/powerplay/ |
D | amd_powerplay.c | 1070 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in pp_get_current_clocks() 1176 …if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_DynamicPatchPowerSta… in pp_get_display_mode_validation_clocks()
|