Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
A Dhwmgr.c421 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()
427 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in hwmgr_init_default_caps()
430 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in hwmgr_init_default_caps()
433 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in hwmgr_init_default_caps()
436 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in hwmgr_init_default_caps()
470 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in polaris_set_asic_special_caps()
472 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in polaris_set_asic_special_caps()
474 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in polaris_set_asic_special_caps()
477 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in polaris_set_asic_special_caps()
[all …]
A 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()
A Dvega12_processpptables.c38 phm_cap_set(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap()
40 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap()
205 phm_cap_set(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_MicrocodeFanControl); in init_powerplay_table_information()
208 hwmgr->platform_descriptor.overdriveLimit.engineClock = VEGA12_ENGINECLOCK_HARDMAX; in init_powerplay_table_information()
210 hwmgr->platform_descriptor.overdriveLimit.engineClock = in init_powerplay_table_information()
212 hwmgr->platform_descriptor.overdriveLimit.memoryClock = in init_powerplay_table_information()
228 if (hwmgr->platform_descriptor.overdriveLimit.engineClock > 0 in init_powerplay_table_information()
229 && hwmgr->platform_descriptor.overdriveLimit.memoryClock > 0) in init_powerplay_table_information()
230 phm_cap_set(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_ACOverdriveSupport); in init_powerplay_table_information()
245 if (hwmgr->platform_descriptor.TDPODLimit) in init_powerplay_table_information()
[all …]
A Dprocesspptables.c1123 hwmgr->platform_descriptor.maxOverdriveVDDC = in init_overdrive_limits_V1_4()
1126 hwmgr->platform_descriptor.minOverdriveVDDC = in init_overdrive_limits_V1_4()
1129 hwmgr->platform_descriptor.maxOverdriveVDDC = in init_overdrive_limits_V1_4()
1159 hwmgr->platform_descriptor.minOverdriveVDDC = 0; in init_overdrive_limits_V2_1()
1160 hwmgr->platform_descriptor.maxOverdriveVDDC = 0; in init_overdrive_limits_V2_1()
1177 hwmgr->platform_descriptor.minOverdriveVDDC = 0; in init_overdrive_limits()
1178 hwmgr->platform_descriptor.maxOverdriveVDDC = 0; in init_overdrive_limits()
1560 hwmgr->platform_descriptor.TDPAdjustment = 0; in init_dpm2_parameters()
1562 hwmgr->platform_descriptor.VidAdjustment = 0; in init_dpm2_parameters()
1564 hwmgr->platform_descriptor.VidMinLimit = 0; in init_dpm2_parameters()
[all …]
A Dvega12_hwmgr.c148 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()
165 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps()
178 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps()
180 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps()
201 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps()
203 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps()
205 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps()
212 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega12_set_features_platform_caps()
[all …]
A Dvega10_processpptables.c334 hwmgr->platform_descriptor.minOverdriveVDDC = 0; in init_over_drive_limits()
335 hwmgr->platform_descriptor.maxOverdriveVDDC = 0; in init_over_drive_limits()
336 hwmgr->platform_descriptor.overdriveVDDCStep = 0; in init_over_drive_limits()
515 hwmgr->platform_descriptor.LoadLineSlope = in get_tdp_table()
556 hwmgr->platform_descriptor.LoadLineSlope = in get_tdp_table()
1100 hwmgr->platform_descriptor.TDPODLimit = in init_dpm_2_parameters()
1102 hwmgr->platform_descriptor.TDPAdjustment = 0; in init_dpm_2_parameters()
1103 hwmgr->platform_descriptor.VidAdjustment = 0; in init_dpm_2_parameters()
1105 hwmgr->platform_descriptor.VidMinLimit = 0; in init_dpm_2_parameters()
1107 hwmgr->platform_descriptor.VidStep = 6250; in init_dpm_2_parameters()
[all …]
A Dvega20_hwmgr.c186 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()
203 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()
227 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps()
229 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps()
231 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps()
238 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega20_set_features_platform_caps()
[all …]
A 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()
239 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in smu8_initialize_dpm_defaults()
242 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in smu8_initialize_dpm_defaults()
[all …]
A Dprocess_pptables_v1_0.c260 hwmgr->platform_descriptor.TDPODLimit = in init_dpm_2_parameters()
262 hwmgr->platform_descriptor.TDPAdjustment = 0; in init_dpm_2_parameters()
263 hwmgr->platform_descriptor.VidAdjustment = 0; in init_dpm_2_parameters()
264 hwmgr->platform_descriptor.VidAdjustmentPolarity = 0; in init_dpm_2_parameters()
265 hwmgr->platform_descriptor.VidMinLimit = 0; in init_dpm_2_parameters()
266 hwmgr->platform_descriptor.VidMaxLimit = 1500000; in init_dpm_2_parameters()
267 hwmgr->platform_descriptor.VidStep = 6250; in init_dpm_2_parameters()
272 if (hwmgr->platform_descriptor.TDPODLimit != 0) in init_dpm_2_parameters()
894 hwmgr->platform_descriptor.minOverdriveVDDC = 0; in init_over_drive_limits()
895 hwmgr->platform_descriptor.maxOverdriveVDDC = 0; in init_over_drive_limits()
[all …]
A Dvega10_hwmgr.c200 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps()
203 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps()
210 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps()
221 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps()
224 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps()
227 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps()
230 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps()
233 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps()
282 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps()
290 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vega10_set_features_platform_caps()
[all …]
A Dsmu7_hwmgr.c1912 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in smu7_init_dpm_defaults()
1926 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in smu7_init_dpm_defaults()
1930 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in smu7_init_dpm_defaults()
1951 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in smu7_init_dpm_defaults()
1965 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in smu7_init_dpm_defaults()
1968 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in smu7_init_dpm_defaults()
1979 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in smu7_init_dpm_defaults()
1981 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in smu7_init_dpm_defaults()
1987 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in smu7_init_dpm_defaults()
2627 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in smu7_thermal_parameter_init()
[all …]
A 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()
576 hwmgr->platform_descriptor.hardwareActivityPerformanceLevels = in smu10_hwmgr_backend_init()
579 hwmgr->platform_descriptor.hardwarePerformanceLevels = in smu10_hwmgr_backend_init()
582 hwmgr->platform_descriptor.vbiosInterruptId = 0; in smu10_hwmgr_backend_init()
584 hwmgr->platform_descriptor.clockStep.engineClock = 500; in smu10_hwmgr_backend_init()
586 hwmgr->platform_descriptor.clockStep.memoryClock = 500; in smu10_hwmgr_backend_init()
588 hwmgr->platform_descriptor.minimumClocksReductionPercentage = 50; in smu10_hwmgr_backend_init()
902 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_SclkDeepSleep)) { in smu10_dpm_get_pp_table_entry_callback()
A Dsmu9_baco.c37 if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_BACO)) in smu9_baco_get_capability()
A Dsmu7_baco.c42 if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_BACO)) in smu7_baco_get_capability()
A Dvega20_processpptables.c40 phm_cap_set(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap()
42 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap()
709 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in copy_overdrive_feature_capabilities_array()
833 phm_cap_set(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_MicrocodeFanControl); in init_powerplay_table_information()
869 …hwmgr->platform_descriptor.TDPODLimit = le32_to_cpu(powerplay_table->OverDrive8Table.ODSettingsMax… in init_powerplay_table_information()
872 if (!disable_power_control && hwmgr->platform_descriptor.TDPODLimit) in init_powerplay_table_information()
874 phm_cap_set(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_PowerControl); in init_powerplay_table_information()
A Dvega20_baco.c46 if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_BACO)) in vega20_baco_get_capability()
A Dhardwaremanager.c254 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in phm_start_thermal_controller()
405 (hwmgr->platform_descriptor.hardwareActivityPerformanceLevels - 1), &performance_level); in phm_get_clock_info()
A 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()
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/powerplay/smumgr/
A Dfiji_smumgr.c1730 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in fiji_populate_clock_stretcher_data_table()
2040 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table()
2044 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table()
2051 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table()
2055 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table()
2062 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table()
2083 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in fiji_init_smc_table()
2141 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in fiji_thermal_setup_fan_table()
2147 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in fiji_thermal_setup_fan_table()
2156 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in fiji_thermal_setup_fan_table()
[all …]
A 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()
905 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in vegam_populate_all_graphic_levels()
1534 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in vegam_populate_clock_stretcher_data_table()
1933 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vegam_init_smc_table()
2058 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in vegam_init_smc_table()
2068 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in vegam_init_smc_table()
2072 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in vegam_init_smc_table()
2094 phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in vegam_init_smc_table()
[all …]
A Dtonga_smumgr.c1659 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in tonga_populate_clock_stretcher_data_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()
2375 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in tonga_init_smc_table()
2379 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in tonga_init_smc_table()
2383 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in tonga_init_smc_table()
2387 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in tonga_init_smc_table()
2389 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in tonga_init_smc_table()
2395 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in tonga_init_smc_table()
2414 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in tonga_init_smc_table()
[all …]
A Dpolaris10_smumgr.c609 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in polaris10_populate_pm_fuses()
1697 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in polaris10_populate_clock_stretcher_data_table()
2047 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table()
2057 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table()
2061 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table()
2068 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in polaris10_init_smc_table()
2179 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in polaris10_thermal_setup_fan_table()
2185 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in polaris10_thermal_setup_fan_table()
2194 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in polaris10_thermal_setup_fan_table()
2275 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in polaris10_thermal_setup_fan_table()
[all …]
A 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()
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()
2113 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_MicrocodeFanControl); in iceland_thermal_setup_fan_table()
[all …]
A Dci_smumgr.c340 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_calculate_sclk_params()
447 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_populate_single_graphic_level()
593 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_EVV)) { in ci_populate_bapm_vddc_vid_sidd()
679 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_populate_pm_fuses()
1069 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_calculate_mclk_params()
1957 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_init_smc_table()
1962 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in ci_init_smc_table()
2075 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in ci_init_smc_table()
2079 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in ci_init_smc_table()
2140 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, in ci_thermal_setup_fan_table()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/powerplay/
A Damd_powerplay.c938 max_power_limit *= (100 + hwmgr->platform_descriptor.TDPODLimit); in pp_set_power_limit()
973 *limit *= (100 + hwmgr->platform_descriptor.TDPODLimit); in pp_get_power_limit()
1021 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in pp_get_current_clocks()
1127 …if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_DynamicPatchPowerSta… in pp_get_display_mode_validation_clocks()

Completed in 88 milliseconds

12