Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dprocesspptables.c51 const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) in get_vce_table_offset() argument
55 if (le16_to_cpu(powerplay_table->usTableSize) >= in get_vce_table_offset()
58 (const ATOM_PPLIB_POWERPLAYTABLE3 *)powerplay_table; in get_vce_table_offset()
75 const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) in get_vce_clock_info_array_offset() argument
78 powerplay_table); in get_vce_clock_info_array_offset()
87 const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) in get_vce_clock_info_array_size() argument
90 powerplay_table); in get_vce_clock_info_array_size()
95 (((unsigned long) powerplay_table) + table_offset); in get_vce_clock_info_array_size()
103 const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) in get_vce_clock_voltage_limit_table_offset() argument
106 powerplay_table); in get_vce_clock_voltage_limit_table_offset()
[all …]
Dvega10_processpptables.c69 const ATOM_Vega10_POWERPLAYTABLE *powerplay_table) in check_powerplay_tables() argument
73 state_arrays = (ATOM_Vega10_State_Array *)(((unsigned long)powerplay_table) + in check_powerplay_tables()
74 le16_to_cpu(powerplay_table->usStateArrayOffset)); in check_powerplay_tables()
76 PP_ASSERT_WITH_CODE((powerplay_table->sHeader.format_revision >= in check_powerplay_tables()
79 PP_ASSERT_WITH_CODE(powerplay_table->usStateArrayOffset, in check_powerplay_tables()
81 PP_ASSERT_WITH_CODE(powerplay_table->sHeader.structuresize > 0, in check_powerplay_tables()
121 const ATOM_Vega10_POWERPLAYTABLE *powerplay_table) in init_thermal_controller() argument
130 (((unsigned long)powerplay_table) + in init_thermal_controller()
131 le16_to_cpu(powerplay_table->usThermalControllerOffset)); in init_thermal_controller()
133 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()
193 const ATOM_Vega12_POWERPLAYTABLE *powerplay_table) in init_powerplay_table_information() argument
199 hwmgr->thermal_controller.ucType = powerplay_table->ucThermalControllerType; in init_powerplay_table_information()
200 pptable_information->uc_thermal_controller_type = powerplay_table->ucThermalControllerType; in init_powerplay_table_information()
208 …if (le32_to_cpu(powerplay_table->ODSettingsMax[ATOM_VEGA12_ODSETTING_GFXCLKFMAX]) > VEGA12_ENGINEC… in init_powerplay_table_information()
212 le32_to_cpu(powerplay_table->ODSettingsMax[ATOM_VEGA12_ODSETTING_GFXCLKFMAX]); in init_powerplay_table_information()
214 le32_to_cpu(powerplay_table->ODSettingsMax[ATOM_VEGA12_ODSETTING_UCLKFMAX]); in init_powerplay_table_information()
218 powerplay_table->ODSettingsMax, in init_powerplay_table_information()
[all …]
Dprocess_pptables_v1_0.c244 const ATOM_Tonga_POWERPLAYTABLE *powerplay_table in init_dpm_2_parameters() argument
254 le16_to_cpu(powerplay_table->usUlvVoltageOffset); in init_dpm_2_parameters()
261 le16_to_cpu(powerplay_table->usPowerControlLimit); in init_dpm_2_parameters()
277 if (0 != powerplay_table->usVddcLookupTableOffset) { in init_dpm_2_parameters()
279 (ATOM_Tonga_Voltage_Lookup_Table *)(((unsigned long)powerplay_table) + in init_dpm_2_parameters()
280 le16_to_cpu(powerplay_table->usVddcLookupTableOffset)); in init_dpm_2_parameters()
286 if (0 != powerplay_table->usVddgfxLookupTableOffset) { in init_dpm_2_parameters()
288 (ATOM_Tonga_Voltage_Lookup_Table *)(((unsigned long)powerplay_table) + in init_dpm_2_parameters()
289 le16_to_cpu(powerplay_table->usVddgfxLookupTableOffset)); in init_dpm_2_parameters()
298 (((unsigned long)powerplay_table) + le16_to_cpu(powerplay_table->usPPMTableOffset)); in init_dpm_2_parameters()
[all …]
Dvega20_processpptables.c640 const ATOM_Vega20_POWERPLAYTABLE *powerplay_table) in check_powerplay_tables() argument
642 PP_ASSERT_WITH_CODE((powerplay_table->sHeader.format_revision >= in check_powerplay_tables()
645 PP_ASSERT_WITH_CODE(powerplay_table->sHeader.structuresize > 0, in check_powerplay_tables()
648 if (powerplay_table->smcPPTable.Version != PPTABLE_V20_SMU_VERSION) { in check_powerplay_tables()
651 powerplay_table->smcPPTable.Version, in check_powerplay_tables()
817 const ATOM_Vega20_POWERPLAYTABLE *powerplay_table) in init_powerplay_table_information() argument
825 hwmgr->thermal_controller.ucType = powerplay_table->ucThermalControllerType; in init_powerplay_table_information()
826 pptable_information->uc_thermal_controller_type = powerplay_table->ucThermalControllerType; in init_powerplay_table_information()
828 hwmgr->thermal_controller.fanInfo.ulMaxRPM = powerplay_table->smcPPTable.FanMaximumRpm; in init_powerplay_table_information()
836 if (powerplay_table->OverDrive8Table.ucODTableRevision == 1) { in init_powerplay_table_information()
[all …]
Dvega10_hwmgr.c3102 ATOM_Vega10_POWERPLAYTABLE *powerplay_table = in vega10_get_pp_table_entry_callback_func() local
3106 (((unsigned long)powerplay_table) + in vega10_get_pp_table_entry_callback_func()
3107 le16_to_cpu(powerplay_table->usSocclkDependencyTableOffset)); in vega10_get_pp_table_entry_callback_func()
3110 (((unsigned long)powerplay_table) + in vega10_get_pp_table_entry_callback_func()
3111 le16_to_cpu(powerplay_table->usGfxclkDependencyTableOffset)); in vega10_get_pp_table_entry_callback_func()
3114 (((unsigned long)powerplay_table) + in vega10_get_pp_table_entry_callback_func()
3115 le16_to_cpu(powerplay_table->usMclkDependencyTableOffset)); in vega10_get_pp_table_entry_callback_func()
Dsmu7_hwmgr.c3556 ATOM_Tonga_POWERPLAYTABLE *powerplay_table = in smu7_get_pp_table_entry_callback_func_v1() local
3560 (((unsigned long)powerplay_table) + in smu7_get_pp_table_entry_callback_func_v1()
3561 le16_to_cpu(powerplay_table->usSclkDependencyTableOffset)); in smu7_get_pp_table_entry_callback_func_v1()
3565 (((unsigned long)powerplay_table) + in smu7_get_pp_table_entry_callback_func_v1()
3566 le16_to_cpu(powerplay_table->usMclkDependencyTableOffset)); in smu7_get_pp_table_entry_callback_func_v1()
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_7_ppt.c318 struct smu_13_0_7_powerplay_table *powerplay_table = in smu_v13_0_7_check_powerplay_table() local
324 if (powerplay_table->platform_caps & SMU_13_0_7_PP_PLATFORM_CAP_HARDWAREDC) in smu_v13_0_7_check_powerplay_table()
327 if (powerplay_table->platform_caps & SMU_13_0_7_PP_PLATFORM_CAP_BACO || in smu_v13_0_7_check_powerplay_table()
328 powerplay_table->platform_caps & SMU_13_0_7_PP_PLATFORM_CAP_MACO) in smu_v13_0_7_check_powerplay_table()
335 powerplay_table->thermal_controller_type; in smu_v13_0_7_check_powerplay_table()
341 smu->od_settings = &powerplay_table->overdrive_table; in smu_v13_0_7_check_powerplay_table()
349 struct smu_13_0_7_powerplay_table *powerplay_table = in smu_v13_0_7_store_powerplay_table() local
354 powerplay_table->smc_pptable.SkuTable.DebugOverrides |= 0x00000080; in smu_v13_0_7_store_powerplay_table()
356 memcpy(table_context->driver_pptable, &powerplay_table->smc_pptable, in smu_v13_0_7_store_powerplay_table()
1208 struct smu_13_0_7_powerplay_table *powerplay_table = in smu_v13_0_7_get_thermal_temperature_range() local
[all …]
Dsmu_v13_0_0_ppt.c320 struct smu_13_0_0_powerplay_table *powerplay_table = in smu_v13_0_0_check_powerplay_table() local
324 if (powerplay_table->platform_caps & SMU_13_0_0_PP_PLATFORM_CAP_HARDWAREDC) in smu_v13_0_0_check_powerplay_table()
327 if (powerplay_table->platform_caps & SMU_13_0_0_PP_PLATFORM_CAP_BACO || in smu_v13_0_0_check_powerplay_table()
328 powerplay_table->platform_caps & SMU_13_0_0_PP_PLATFORM_CAP_MACO) in smu_v13_0_0_check_powerplay_table()
331 if (powerplay_table->platform_caps & SMU_13_0_0_PP_PLATFORM_CAP_MACO) in smu_v13_0_0_check_powerplay_table()
335 powerplay_table->thermal_controller_type; in smu_v13_0_0_check_powerplay_table()
341 smu->od_settings = &powerplay_table->overdrive_table; in smu_v13_0_0_check_powerplay_table()
349 struct smu_13_0_0_powerplay_table *powerplay_table = in smu_v13_0_0_store_powerplay_table() local
352 memcpy(table_context->driver_pptable, &powerplay_table->smc_pptable, in smu_v13_0_0_store_powerplay_table()
1256 struct smu_13_0_0_powerplay_table *powerplay_table = in smu_v13_0_0_get_thermal_temperature_range() local
[all …]
Daldebaran_ppt.c387 struct smu_13_0_powerplay_table *powerplay_table = in aldebaran_check_powerplay_table() local
391 powerplay_table->thermal_controller_type; in aldebaran_check_powerplay_table()
399 struct smu_13_0_powerplay_table *powerplay_table = in aldebaran_store_powerplay_table() local
401 memcpy(table_context->driver_pptable, &powerplay_table->smc_pptable, in aldebaran_store_powerplay_table()
1048 struct smu_13_0_powerplay_table *powerplay_table = in aldebaran_get_thermal_temperature_range() local
1065 range->software_shutdown_temp = powerplay_table->software_shutdown_temp; in aldebaran_get_thermal_temperature_range()
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu11/
Darcturus_ppt.c412 struct smu_11_0_powerplay_table *powerplay_table = in arcturus_check_bxco_support() local
418 if (powerplay_table->platform_caps & SMU_11_0_PP_PLATFORM_CAP_BACO || in arcturus_check_bxco_support()
419 powerplay_table->platform_caps & SMU_11_0_PP_PLATFORM_CAP_MACO) { in arcturus_check_bxco_support()
443 struct smu_11_0_powerplay_table *powerplay_table = in arcturus_check_powerplay_table() local
450 powerplay_table->thermal_controller_type; in arcturus_check_powerplay_table()
458 struct smu_11_0_powerplay_table *powerplay_table = in arcturus_store_powerplay_table() local
461 memcpy(table_context->driver_pptable, &powerplay_table->smc_pptable, in arcturus_store_powerplay_table()
1076 struct smu_11_0_powerplay_table *powerplay_table = in arcturus_get_thermal_temperature_range() local
1097 range->software_shutdown_temp = powerplay_table->software_shutdown_temp; in arcturus_get_thermal_temperature_range()
1333 struct smu_11_0_powerplay_table *powerplay_table = in arcturus_get_power_limit() local
[all …]
Dnavi10_ppt.c367 struct smu_11_0_powerplay_table *powerplay_table = in navi10_check_bxco_support() local
373 if (powerplay_table->platform_caps & SMU_11_0_PP_PLATFORM_CAP_BACO || in navi10_check_bxco_support()
374 powerplay_table->platform_caps & SMU_11_0_PP_PLATFORM_CAP_MACO) { in navi10_check_bxco_support()
385 struct smu_11_0_powerplay_table *powerplay_table = in navi10_check_powerplay_table() local
388 if (powerplay_table->platform_caps & SMU_11_0_PP_PLATFORM_CAP_HARDWAREDC) in navi10_check_powerplay_table()
394 powerplay_table->thermal_controller_type; in navi10_check_powerplay_table()
400 smu->od_settings = &powerplay_table->overdrive_table; in navi10_check_powerplay_table()
461 struct smu_11_0_powerplay_table *powerplay_table = in navi10_store_powerplay_table() local
464 memcpy(table_context->driver_pptable, &powerplay_table->smc_pptable, in navi10_store_powerplay_table()
2277 struct smu_11_0_powerplay_table *powerplay_table = in navi10_get_thermal_temperature_range() local
[all …]
Dsienna_cichlid_ppt.c361 struct smu_11_0_7_powerplay_table *powerplay_table = in sienna_cichlid_check_bxco_support() local
367 if (powerplay_table->platform_caps & SMU_11_0_7_PP_PLATFORM_CAP_BACO) { in sienna_cichlid_check_bxco_support()
409 struct smu_11_0_7_powerplay_table *powerplay_table = in sienna_cichlid_check_powerplay_table() local
412 if (powerplay_table->platform_caps & SMU_11_0_7_PP_PLATFORM_CAP_HARDWAREDC) in sienna_cichlid_check_powerplay_table()
419 powerplay_table->thermal_controller_type; in sienna_cichlid_check_powerplay_table()
425 smu->od_settings = &powerplay_table->overdrive_table; in sienna_cichlid_check_powerplay_table()
453 struct smu_11_0_7_powerplay_table *powerplay_table = in sienna_cichlid_store_powerplay_table() local
458 memcpy(table_context->driver_pptable, &powerplay_table->smc_pptable, in sienna_cichlid_store_powerplay_table()
611 struct smu_11_0_7_powerplay_table *powerplay_table = in sienna_cichlid_get_power_limit() local
631 le32_to_cpu(powerplay_table->overdrive_table.max[ in sienna_cichlid_get_power_limit()
[all …]