Home
last modified time | relevance | path

Searched refs:platform_descriptor (Results 1 – 25 of 30) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dhwmgr.c415 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 …]
Dvega20_powertune.c48 return (tdp_percentage_adjustment > hwmgr->platform_descriptor.TDPLimit) ? -1 : 0; in vega20_validate_power_level_request()
65 hwmgr->platform_descriptor.TDPAdjustmentPolarity ? in vega20_power_control_set_level()
66 hwmgr->platform_descriptor.TDPAdjustment : in vega20_power_control_set_level()
67 (-1 * hwmgr->platform_descriptor.TDPAdjustment); in vega20_power_control_set_level()
Dvega12_processpptables.c39 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()
210 hwmgr->platform_descriptor.overdriveLimit.engineClock = VEGA12_ENGINECLOCK_HARDMAX; in init_powerplay_table_information()
212 hwmgr->platform_descriptor.overdriveLimit.engineClock = in init_powerplay_table_information()
214 hwmgr->platform_descriptor.overdriveLimit.memoryClock = in init_powerplay_table_information()
230 if (hwmgr->platform_descriptor.overdriveLimit.engineClock > 0 in init_powerplay_table_information()
231 && hwmgr->platform_descriptor.overdriveLimit.memoryClock > 0) in init_powerplay_table_information()
232 phm_cap_set(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_ACOverdriveSupport); in init_powerplay_table_information()
242 …hwmgr->platform_descriptor.TDPODLimit = le32_to_cpu(powerplay_table->ODSettingsMax[ATOM_VEGA12_ODS… in init_powerplay_table_information()
[all …]
Dprocesspptables.c449 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()
1121 hwmgr->platform_descriptor.overdriveLimit.engineClock = in init_overdrive_limits_V1_4()
1124 hwmgr->platform_descriptor.overdriveLimit.memoryClock = in init_overdrive_limits_V1_4()
1127 hwmgr->platform_descriptor.maxOverdriveVDDC = in init_overdrive_limits_V1_4()
1130 hwmgr->platform_descriptor.minOverdriveVDDC = in init_overdrive_limits_V1_4()
1133 hwmgr->platform_descriptor.maxOverdriveVDDC = in init_overdrive_limits_V1_4()
[all …]
Dvega12_hwmgr.c146 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps()
149 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps()
152 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps()
156 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()
163 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps()
166 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps()
170 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps()
173 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps()
175 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps()
[all …]
Dvega10_processpptables.c42 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()
327 hwmgr->platform_descriptor.overdriveLimit.engineClock = in init_over_drive_limits()
330 hwmgr->platform_descriptor.overdriveLimit.engineClock = in init_over_drive_limits()
332 hwmgr->platform_descriptor.overdriveLimit.memoryClock = in init_over_drive_limits()
335 hwmgr->platform_descriptor.minOverdriveVDDC = 0; in init_over_drive_limits()
336 hwmgr->platform_descriptor.maxOverdriveVDDC = 0; in init_over_drive_limits()
[all …]
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()
264 hwmgr->platform_descriptor.TDPODLimit = in init_dpm_2_parameters()
266 hwmgr->platform_descriptor.TDPAdjustment = 0; in init_dpm_2_parameters()
267 hwmgr->platform_descriptor.VidAdjustment = 0; in init_dpm_2_parameters()
268 hwmgr->platform_descriptor.VidAdjustmentPolarity = 0; in init_dpm_2_parameters()
269 hwmgr->platform_descriptor.VidMinLimit = 0; in init_dpm_2_parameters()
270 hwmgr->platform_descriptor.VidMaxLimit = 1500000; in init_dpm_2_parameters()
271 hwmgr->platform_descriptor.VidStep = 6250; in init_dpm_2_parameters()
276 if (hwmgr->platform_descriptor.TDPODLimit != 0) in init_dpm_2_parameters()
[all …]
Dsmu8_hwmgr.c199 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 …]
Dvega10_hwmgr.c201 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps()
204 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps()
208 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps()
211 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps()
215 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()
231 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps()
[all …]
Dvega20_hwmgr.c184 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps()
187 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps()
190 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()
197 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps()
201 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps()
204 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps()
208 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps()
211 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps()
213 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps()
[all …]
Dsmu7_hwmgr.c849 if (hwmgr->platform_descriptor.overdriveLimit.engineClock == 0) in smu7_setup_dpm_tables_v1()
850 hwmgr->platform_descriptor.overdriveLimit.engineClock = dep_sclk_table->entries[i-1].clk; in smu7_setup_dpm_tables_v1()
865 if (hwmgr->platform_descriptor.overdriveLimit.memoryClock == 0) in smu7_setup_dpm_tables_v1()
866 hwmgr->platform_descriptor.overdriveLimit.memoryClock = dep_mclk_table->entries[i-1].clk; in smu7_setup_dpm_tables_v1()
1029 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_enable_vrhot_gpio_interrupt()
1067 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_enable_deep_sleep_master_switch()
1088 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_disable_deep_sleep_master_switch()
1242 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_start_dpm()
1342 !phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_set_dpm_event_sources()
1409 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in smu7_enable_dpm_tasks()
[all …]
Dsmu10_hwmgr.c113 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()
541 hwmgr->platform_descriptor.hardwareActivityPerformanceLevels = in smu10_hwmgr_backend_init()
544 hwmgr->platform_descriptor.hardwarePerformanceLevels = in smu10_hwmgr_backend_init()
547 hwmgr->platform_descriptor.vbiosInterruptId = 0; in smu10_hwmgr_backend_init()
549 hwmgr->platform_descriptor.clockStep.engineClock = 500; in smu10_hwmgr_backend_init()
551 hwmgr->platform_descriptor.clockStep.memoryClock = 500; in smu10_hwmgr_backend_init()
553 hwmgr->platform_descriptor.minimumClocksReductionPercentage = 50; in smu10_hwmgr_backend_init()
818 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_SclkDeepSleep)) { in smu10_dpm_get_pp_table_entry_callback()
Dsmu9_baco.c37 if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_BACO)) in smu9_baco_get_capability()
Dsmu7_baco.c42 if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_BACO)) in smu7_baco_get_capability()
Dvega20_processpptables.c41 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()
870 …hwmgr->platform_descriptor.TDPODLimit = le32_to_cpu(powerplay_table->OverDrive8Table.ODSettingsMax… in init_powerplay_table_information()
873 if (!disable_power_control && hwmgr->platform_descriptor.TDPODLimit) in init_powerplay_table_information()
875 phm_cap_set(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_PowerControl); in init_powerplay_table_information()
Dvega20_baco.c46 if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_BACO)) in vega20_baco_get_capability()
Dhardwaremanager.c253 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in phm_start_thermal_controller()
403 (hwmgr->platform_descriptor.hardwareActivityPerformanceLevels - 1), &performance_level); in phm_get_clock_info()
Dvega10_powertune.c1284 hwmgr->platform_descriptor.LoadLineSlope * 256; in vega10_initialize_power_tune_defaults()
1385 hwmgr->platform_descriptor.TDPAdjustmentPolarity ? in vega10_power_control_set_level()
1386 hwmgr->platform_descriptor.TDPAdjustment : in vega10_power_control_set_level()
1387 (-1 * hwmgr->platform_descriptor.TDPAdjustment); in vega10_power_control_set_level()
Dsmu_helper.c195 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dfiji_smumgr.c695 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 …]
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()
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 …]
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()
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 …]
Dpolaris10_smumgr.c592 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 …]
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()
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 …]
Dci_smumgr.c339 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 …]

12