Home
last modified time | relevance | path

Searched refs:powerplay_table (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/amd/powerplay/hwmgr/
Dprocesspptables.c49 const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) in get_vce_table_offset() argument
53 if (le16_to_cpu(powerplay_table->usTableSize) >= in get_vce_table_offset()
56 (const ATOM_PPLIB_POWERPLAYTABLE3 *)powerplay_table; in get_vce_table_offset()
73 const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) in get_vce_clock_info_array_offset() argument
76 powerplay_table); in get_vce_clock_info_array_offset()
85 const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) in get_vce_clock_info_array_size() argument
88 powerplay_table); in get_vce_clock_info_array_size()
93 (((unsigned long) powerplay_table) + table_offset); in get_vce_clock_info_array_size()
101 const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) in get_vce_clock_voltage_limit_table_offset() argument
104 powerplay_table); in get_vce_clock_voltage_limit_table_offset()
[all …]
Dvega10_processpptables.c67 const ATOM_Vega10_POWERPLAYTABLE *powerplay_table) in check_powerplay_tables() argument
71 state_arrays = (ATOM_Vega10_State_Array *)(((unsigned long)powerplay_table) + in check_powerplay_tables()
72 le16_to_cpu(powerplay_table->usStateArrayOffset)); in check_powerplay_tables()
74 PP_ASSERT_WITH_CODE((powerplay_table->sHeader.format_revision >= in check_powerplay_tables()
77 PP_ASSERT_WITH_CODE(powerplay_table->usStateArrayOffset, in check_powerplay_tables()
79 PP_ASSERT_WITH_CODE(powerplay_table->sHeader.structuresize > 0, in check_powerplay_tables()
119 const ATOM_Vega10_POWERPLAYTABLE *powerplay_table) in init_thermal_controller() argument
127 (((unsigned long)powerplay_table) + in init_thermal_controller()
128 le16_to_cpu(powerplay_table->usThermalControllerOffset)); in init_thermal_controller()
130 PP_ASSERT_WITH_CODE((powerplay_table->usThermalControllerOffset != 0), in init_thermal_controller()
[all …]
Dvega12_processpptables.c66 const ATOM_Vega12_POWERPLAYTABLE *powerplay_table) in check_powerplay_tables() argument
68 PP_ASSERT_WITH_CODE((powerplay_table->sHeader.format_revision >= in check_powerplay_tables()
71 PP_ASSERT_WITH_CODE(powerplay_table->sHeader.structuresize > 0, in check_powerplay_tables()
237 const ATOM_Vega12_POWERPLAYTABLE *powerplay_table) in init_powerplay_table_information() argument
244 hwmgr->thermal_controller.ucType = powerplay_table->ucThermalControllerType; in init_powerplay_table_information()
245 pptable_information->uc_thermal_controller_type = powerplay_table->ucThermalControllerType; in init_powerplay_table_information()
253 if (powerplay_table->ODSettingsMax[ATOM_VEGA12_ODSETTING_GFXCLKFMAX] > VEGA12_ENGINECLOCK_HARDMAX) in init_powerplay_table_information()
256 …hwmgr->platform_descriptor.overdriveLimit.engineClock = powerplay_table->ODSettingsMax[ATOM_VEGA12… in init_powerplay_table_information()
257 …hwmgr->platform_descriptor.overdriveLimit.memoryClock = powerplay_table->ODSettingsMax[ATOM_VEGA12… in init_powerplay_table_information()
259 …copy_overdrive_settings_limits_array(hwmgr, &pptable_information->od_settings_max, powerplay_table in init_powerplay_table_information()
[all …]
Dprocess_pptables_v1_0.c248 const ATOM_Tonga_POWERPLAYTABLE *powerplay_table in init_dpm_2_parameters() argument
258 le16_to_cpu(powerplay_table->usUlvVoltageOffset); in init_dpm_2_parameters()
265 le16_to_cpu(powerplay_table->usPowerControlLimit); in init_dpm_2_parameters()
281 if (0 != powerplay_table->usVddcLookupTableOffset) { in init_dpm_2_parameters()
283 (ATOM_Tonga_Voltage_Lookup_Table *)(((unsigned long)powerplay_table) + in init_dpm_2_parameters()
284 le16_to_cpu(powerplay_table->usVddcLookupTableOffset)); in init_dpm_2_parameters()
290 if (0 != powerplay_table->usVddgfxLookupTableOffset) { in init_dpm_2_parameters()
292 (ATOM_Tonga_Voltage_Lookup_Table *)(((unsigned long)powerplay_table) + in init_dpm_2_parameters()
293 le16_to_cpu(powerplay_table->usVddgfxLookupTableOffset)); in init_dpm_2_parameters()
302 (((unsigned long)powerplay_table) + le16_to_cpu(powerplay_table->usPPMTableOffset)); in init_dpm_2_parameters()
[all …]
Dvega10_hwmgr.c2975 ATOM_Vega10_POWERPLAYTABLE *powerplay_table = in vega10_get_pp_table_entry_callback_func() local
2979 (((unsigned long)powerplay_table) + in vega10_get_pp_table_entry_callback_func()
2980 le16_to_cpu(powerplay_table->usSocclkDependencyTableOffset)); in vega10_get_pp_table_entry_callback_func()
2983 (((unsigned long)powerplay_table) + in vega10_get_pp_table_entry_callback_func()
2984 le16_to_cpu(powerplay_table->usGfxclkDependencyTableOffset)); in vega10_get_pp_table_entry_callback_func()
2987 (((unsigned long)powerplay_table) + in vega10_get_pp_table_entry_callback_func()
2988 le16_to_cpu(powerplay_table->usMclkDependencyTableOffset)); in vega10_get_pp_table_entry_callback_func()
Dsmu7_hwmgr.c3121 ATOM_Tonga_POWERPLAYTABLE *powerplay_table = in smu7_get_pp_table_entry_callback_func_v1() local
3125 (((unsigned long)powerplay_table) + in smu7_get_pp_table_entry_callback_func_v1()
3126 le16_to_cpu(powerplay_table->usSclkDependencyTableOffset)); in smu7_get_pp_table_entry_callback_func_v1()
3130 (((unsigned long)powerplay_table) + in smu7_get_pp_table_entry_callback_func_v1()
3131 le16_to_cpu(powerplay_table->usMclkDependencyTableOffset)); in smu7_get_pp_table_entry_callback_func_v1()