/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | hwmgr.c | 399 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_PCIEPerformanceRequest); in hwmgr_init_default_caps() 401 phm_cap_set(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_UVDDPM); in hwmgr_init_default_caps() 402 phm_cap_set(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_VCEDPM); in hwmgr_init_default_caps() 406 phm_cap_set(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_PCIEPerformanceRequest); in hwmgr_init_default_caps() 409 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in hwmgr_init_default_caps() 412 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in hwmgr_init_default_caps() 415 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in hwmgr_init_default_caps() 418 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in hwmgr_init_default_caps() 421 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in hwmgr_init_default_caps() 424 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in hwmgr_init_default_caps() [all …]
|
D | vega12_hwmgr.c | 138 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps() 141 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps() 144 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps() 148 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps() 150 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps() 155 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps() 158 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps() 162 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps() 165 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps() 167 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps() [all …]
|
D | vega20_hwmgr.c | 179 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps() 182 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps() 185 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps() 189 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps() 193 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps() 196 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps() 200 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps() 203 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps() 205 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps() 210 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps() [all …]
|
D | smu8_hwmgr.c | 197 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in smu8_initialize_dpm_defaults() 200 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in smu8_initialize_dpm_defaults() 203 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in smu8_initialize_dpm_defaults() 208 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in smu8_initialize_dpm_defaults() 215 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in smu8_initialize_dpm_defaults() 218 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in smu8_initialize_dpm_defaults() 220 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in smu8_initialize_dpm_defaults() 228 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in smu8_initialize_dpm_defaults() 231 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in smu8_initialize_dpm_defaults() 233 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in smu8_initialize_dpm_defaults() [all …]
|
D | vega12_processpptables.c | 39 phm_cap_set(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap() 41 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap() 207 phm_cap_set(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_MicrocodeFanControl); in init_powerplay_table_information() 232 phm_cap_set(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_ACOverdriveSupport); in init_powerplay_table_information() 248 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_powerplay_table_information()
|
D | vega10_hwmgr.c | 198 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps() 201 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps() 205 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps() 208 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps() 212 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps() 216 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps() 219 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps() 222 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps() 225 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps() 228 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps() [all …]
|
D | smu9_baco.c | 37 if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_BACO)) in smu9_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 | 978 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 …]
|
D | process_pptables_v1_0.c | 43 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() 277 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_dpm_2_parameters() 306 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_dpm_2_parameters() 935 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_thermal_controller()
|
D | vega20_processpptables.c | 41 phm_cap_set(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap() 43 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap() 710 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in copy_overdrive_feature_capabilities_array() 834 phm_cap_set(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_MicrocodeFanControl); in init_powerplay_table_information() 875 phm_cap_set(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_PowerControl); in init_powerplay_table_information()
|
D | vega10_processpptables.c | 42 phm_cap_set(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap() 44 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap() 174 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_thermal_controller() 219 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_thermal_controller() 263 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_thermal_controller() 1148 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_dpm_2_parameters()
|
D | smu10_hwmgr.c | 118 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in smu10_initialize_dpm_defaults() 121 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in smu10_initialize_dpm_defaults() 124 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in smu10_initialize_dpm_defaults() 760 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_SclkDeepSleep)) { in smu10_dpm_get_pp_table_entry_callback()
|
D | processpptables.c | 447 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() 1390 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in get_cac_leakage_table() 1463 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_dpm2_parameters() 1495 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_dpm2_parameters()
|
D | smu7_clockpowergating.c | 67 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_powerup_uvd()
|
D | smu_helper.c | 194 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()
|
D | hardwaremanager.c | 244 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in phm_start_thermal_controller()
|
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/smumgr/ |
D | fiji_smumgr.c | 696 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() 1736 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in fiji_populate_clock_stretcher_data_table() 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() 2045 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table() 2049 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table() 2056 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table() [all …]
|
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() 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() 1540 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in vegam_populate_clock_stretcher_data_table() 1856 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in vegam_populate_pm_fuses() 1938 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vegam_init_smc_table() 1947 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in vegam_init_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() 1659 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in tonga_populate_clock_stretcher_data_table() 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() 2364 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in tonga_init_smc_table() 2368 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in tonga_init_smc_table() [all …]
|
D | polaris10_smumgr.c | 591 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() 1581 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in polaris10_populate_clock_stretcher_data_table() 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() 1945 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table() 1952 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table() 1956 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_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() 2100 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in iceland_thermal_setup_fan_table() 2106 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_MicrocodeFanControl); in iceland_thermal_setup_fan_table() [all …]
|
D | ci_smumgr.c | 338 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() 2073 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in ci_init_smc_table() 2077 phm_cap_unset(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() [all …]
|
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/inc/ |
D | hardwaremanager.h | 302 #define PP_CAP(c) phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, (c)) 345 uint32_t platformCaps[PHM_MAX_NUM_CAPS_ULONG_ENTRIES]; member
|
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/ |
D | amd_powerplay.c | 1079 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()
|