/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | hwmgr.c | 415 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_PCIEPerformanceRequest); in hwmgr_init_default_caps() 417 phm_cap_set(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_UVDDPM); in hwmgr_init_default_caps() 418 phm_cap_set(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_VCEDPM); in hwmgr_init_default_caps() 422 phm_cap_set(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_PCIEPerformanceRequest); in hwmgr_init_default_caps() 425 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in hwmgr_init_default_caps() 428 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in hwmgr_init_default_caps() 431 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in hwmgr_init_default_caps() 434 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in hwmgr_init_default_caps() 437 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in hwmgr_init_default_caps() 440 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in hwmgr_init_default_caps() [all …]
|
D | vega12_hwmgr.c | 145 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps() 148 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps() 151 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() 157 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() 169 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps() 172 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps() 174 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps() [all …]
|
D | vega20_hwmgr.c | 183 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps() 186 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() 192 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() 207 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() 212 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps() [all …]
|
D | smu8_hwmgr.c | 199 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in smu8_initialize_dpm_defaults() 202 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in smu8_initialize_dpm_defaults() 205 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in smu8_initialize_dpm_defaults() 210 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in smu8_initialize_dpm_defaults() 217 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() 222 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in smu8_initialize_dpm_defaults() 230 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in smu8_initialize_dpm_defaults() 233 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in smu8_initialize_dpm_defaults() 235 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 | smu7_baco.c | 42 if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_BACO)) in smu7_baco_get_capability()
|
D | smu7_hwmgr.c | 979 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_enable_vrhot_gpio_interrupt() 1017 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_enable_deep_sleep_master_switch() 1038 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_disable_deep_sleep_master_switch() 1185 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_start_dpm() 1285 !phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_set_dpm_event_sources() 1352 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_enable_dpm_tasks() 1357 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_enable_dpm_tasks() 1494 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_disable_dpm_tasks() 1646 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_init_dpm_defaults() 1654 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_init_dpm_defaults() [all …]
|
D | vega20_baco.c | 46 if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_BACO)) in vega20_baco_get_capability()
|
D | processpptables.c | 449 phm_cap_set(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap() 451 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap() 1045 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_thermal_controller() 1084 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_thermal_controller() 1099 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_thermal_controller() 1517 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in get_cac_leakage_table() 1590 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_dpm2_parameters() 1622 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_dpm2_parameters()
|
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 | 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 | 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 | 113 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in smu10_initialize_dpm_defaults() 116 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in smu10_initialize_dpm_defaults() 119 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in smu10_initialize_dpm_defaults() 818 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_SclkDeepSleep)) { in smu10_dpm_get_pp_table_entry_callback()
|
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 | 253 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in phm_start_thermal_controller()
|
/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
D | fiji_smumgr.c | 695 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_populate_pm_fuses() 899 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_calculate_sclk_params() 977 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_SclkDeepSleep)) in fiji_populate_single_graphic_level() 1732 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in fiji_populate_clock_stretcher_data_table() 1938 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table() 1942 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table() 2005 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table() 2042 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table() 2046 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table() 2053 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() 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() 1535 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in vegam_populate_clock_stretcher_data_table() 1851 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in vegam_populate_pm_fuses() 1934 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vegam_init_smc_table() 1943 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 | 592 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_populate_pm_fuses() 947 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_SclkDeepSleep)) in polaris10_populate_single_graphic_level() 1014 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_populate_all_graphic_levels() 1582 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in polaris10_populate_clock_stretcher_data_table() 1840 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table() 1844 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table() 1903 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table() 1946 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table() 1953 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table() 1957 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 | 339 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_calculate_sclk_params() 446 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_populate_single_graphic_level() 592 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_EVV)) { in ci_populate_bapm_vddc_vid_sidd() 678 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_populate_pm_fuses() 1068 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_calculate_mclk_params() 1956 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_init_smc_table() 1961 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_init_smc_table() 2074 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in ci_init_smc_table() 2078 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in ci_init_smc_table() 2135 …if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_MicrocodeFanControl… in ci_thermal_setup_fan_table() [all …]
|
/Linux-v5.10/drivers/gpu/drm/amd/pm/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
|