Home
last modified time | relevance | path

Searched refs:pptable (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega20_processpptables.c67 static void dump_pptable(PPTable_t *pptable)
71 pr_info("Version = 0x%08x\n", pptable->Version);
73 pr_info("FeaturesToRun[0] = 0x%08x\n", pptable->FeaturesToRun[0]);
74 pr_info("FeaturesToRun[1] = 0x%08x\n", pptable->FeaturesToRun[1]);
76 pr_info("SocketPowerLimitAc0 = %d\n", pptable->SocketPowerLimitAc0);
77 pr_info("SocketPowerLimitAc0Tau = %d\n", pptable->SocketPowerLimitAc0Tau);
78 pr_info("SocketPowerLimitAc1 = %d\n", pptable->SocketPowerLimitAc1);
79 pr_info("SocketPowerLimitAc1Tau = %d\n", pptable->SocketPowerLimitAc1Tau);
80 pr_info("SocketPowerLimitAc2 = %d\n", pptable->SocketPowerLimitAc2);
81 pr_info("SocketPowerLimitAc2Tau = %d\n", pptable->SocketPowerLimitAc2Tau);
[all …]
Dprocess_pptables_v1_0.c205 (struct phm_ppt_v1_information *)(hwmgr->pptable); in get_platform_power_management_table()
248 …t phm_ppt_v1_information *pp_table_information = (struct phm_ppt_v1_information *)(hwmgr->pptable); in init_dpm_2_parameters()
484 (struct phm_ppt_v1_information *)(hwmgr->pptable); in get_pcie_table()
762 (struct phm_ppt_v1_information *)(hwmgr->pptable); in get_gpio_table()
794 (struct phm_ppt_v1_information *)(hwmgr->pptable); in init_clock_voltage_dependency()
1146 hwmgr->pptable = kzalloc(sizeof(struct phm_ppt_v1_information), GFP_KERNEL); in pp_tables_v1_0_initialize()
1148 PP_ASSERT_WITH_CODE((NULL != hwmgr->pptable), in pp_tables_v1_0_initialize()
1193 (struct phm_ppt_v1_information *)(hwmgr->pptable); in pp_tables_v1_0_uninitialize()
1231 kfree(hwmgr->pptable); in pp_tables_v1_0_uninitialize()
1232 hwmgr->pptable = NULL; in pp_tables_v1_0_uninitialize()
[all …]
Dvega12_processpptables.c196 (struct phm_ppt_v3_information *)hwmgr->pptable; in init_powerplay_table_information()
267 hwmgr->pptable = kzalloc(sizeof(struct phm_ppt_v3_information), GFP_KERNEL); in vega12_pp_tables_initialize()
268 PP_ASSERT_WITH_CODE((hwmgr->pptable != NULL), in vega12_pp_tables_initialize()
294 (struct phm_ppt_v3_information *)(hwmgr->pptable); in vega12_pp_tables_uninitialize()
311 kfree(hwmgr->pptable); in vega12_pp_tables_uninitialize()
312 hwmgr->pptable = NULL; in vega12_pp_tables_uninitialize()
Dvega10_hwmgr.c198 (struct phm_ppt_v2_information *)hwmgr->pptable; in vega10_set_features_platform_caps()
308 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_odn_initial_default_setting()
523 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_get_socclk_for_voltage_evv()
560 (struct phm_ppt_v2_information *)hwmgr->pptable; in vega10_get_evv_voltages()
665 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_patch_voltage_dependency_tables_with_lookup_table()
741 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_complete_dependency_tables()
770 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_set_private_data_based_on_pptable()
1164 (struct phm_ppt_v2_information *)hwmgr->pptable; in vega10_construct_voltage_tables()
1253 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_setup_default_pcie_table()
1301 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_setup_default_dpm_tables()
[all …]
Dvega10_processpptables.c790 (struct phm_ppt_v2_information *)(hwmgr->pptable); in get_pcie_table()
878 (struct phm_ppt_v2_information *)(hwmgr->pptable); in init_powerplay_extended_tables()
1066 (struct phm_ppt_v2_information *)(hwmgr->pptable); in init_dpm_2_parameters()
1153 hwmgr->pptable = kzalloc(sizeof(struct phm_ppt_v2_information), GFP_KERNEL); in vega10_pp_tables_initialize()
1155 PP_ASSERT_WITH_CODE((hwmgr->pptable != NULL), in vega10_pp_tables_initialize()
1200 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_pp_tables_uninitialize()
1238 kfree(hwmgr->pptable); in vega10_pp_tables_uninitialize()
1239 hwmgr->pptable = NULL; in vega10_pp_tables_uninitialize()
Dsmu7_hwmgr.c321 (struct phm_ppt_v1_information *)hwmgr->pptable; in smu7_construct_voltage_tables()
640 (struct phm_ppt_v1_information *)(hwmgr->pptable); in smu7_setup_default_pcie_table()
872 (struct phm_ppt_v1_information *)(hwmgr->pptable); in smu7_setup_dpm_tables_v1()
938 (struct phm_ppt_v1_information *)(hwmgr->pptable); in smu7_odn_initial_default_setting()
983 (struct phm_ppt_v1_information *)(hwmgr->pptable); in smu7_setup_voltage_range_from_vbios()
1011 (struct phm_ppt_v1_information *)(hwmgr->pptable); in smu7_check_dpm_table_updated()
1754 (struct phm_ppt_v1_information *)(hwmgr->pptable); in smu7_init_dpm_defaults()
2004 (struct phm_ppt_v1_information *)hwmgr->pptable; in smu7_get_evv_voltages()
2141 (struct phm_ppt_v1_information *)(hwmgr->pptable); in smu7_patch_clock_voltage_limits_with_vddc_leakage()
2155 (struct phm_ppt_v1_information *)(hwmgr->pptable); in smu7_patch_voltage_dependency_tables_with_lookup_table()
[all …]
Dvega12_thermal.c174 (struct phm_ppt_v3_information *)hwmgr->pptable; in vega12_thermal_set_temperature_range()
Dsmu_helper.c467 (struct phm_ppt_v1_information *)(hwmgr->pptable); in phm_get_sclk_for_voltage_evv()
496 struct phm_ppt_v1_information *pptable_info = (struct phm_ppt_v1_information *)(hwmgr->pptable); in phm_initializa_dynamic_state_adjustment_rule_settings()
548 (struct phm_ppt_v1_information *)hwmgr->pptable; in phm_apply_dal_min_voltage_request()
Dvega20_thermal.c245 (struct phm_ppt_v3_information *)hwmgr->pptable; in vega20_thermal_set_temperature_range()
Dvega20_hwmgr.c788 (struct phm_ppt_v3_information *)hwmgr->pptable; in vega20_init_smc_table()
1041 (struct phm_ppt_v3_information *)hwmgr->pptable; in vega20_od8_set_feature_capabilities()
1241 (struct phm_ppt_v3_information *)hwmgr->pptable; in vega20_od8_initialize_default_settings()
2792 (struct phm_ppt_v2_information *)hwmgr->pptable; in vega20_get_dal_power_level()
3362 PPTable_t *pptable = &(data->smc_state_table.pp_table); in vega20_print_clock_levels() local
3461 gen_speed = pptable->PcieGenSpeed[i]; in vega20_print_clock_levels()
3462 lane_width = pptable->PcieLaneCount[i]; in vega20_print_clock_levels()
3475 pptable->LclkFreq[i], in vega20_print_clock_levels()
Dvega10_thermal.c363 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_thermal_set_temperature_range()
Dvega10_powertune.c1267 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_initialize_power_tune_defaults()
1318 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_enable_power_containment()
Dsmu10_hwmgr.c457 struct smu10_voltage_dependency_table **pptable, in smu10_get_clock_voltage_dependency_table() argument
475 *pptable = ptable; in smu10_get_clock_voltage_dependency_table()
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsienna_cichlid_ppt.c395 PPTable_t *pptable = table_context->driver_pptable; in sienna_cichlid_check_fan_support() local
396 uint64_t features = *(uint64_t *) pptable->FeaturesToRun; in sienna_cichlid_check_fan_support()
2435 PPTable_beige_goby_t *pptable = table_context->driver_pptable; in beige_goby_dump_pptable() local
2440 dev_info(smu->adev->dev, "Version = 0x%08x\n", pptable->Version); in beige_goby_dump_pptable()
2441 dev_info(smu->adev->dev, "FeaturesToRun[0] = 0x%08x\n", pptable->FeaturesToRun[0]); in beige_goby_dump_pptable()
2442 dev_info(smu->adev->dev, "FeaturesToRun[1] = 0x%08x\n", pptable->FeaturesToRun[1]); in beige_goby_dump_pptable()
2445 dev_info(smu->adev->dev, "SocketPowerLimitAc[%d] = 0x%x\n", i, pptable->SocketPowerLimitAc[i]); in beige_goby_dump_pptable()
2446 …dev_info(smu->adev->dev, "SocketPowerLimitAcTau[%d] = 0x%x\n", i, pptable->SocketPowerLimitAcTau[i… in beige_goby_dump_pptable()
2447 dev_info(smu->adev->dev, "SocketPowerLimitDc[%d] = 0x%x\n", i, pptable->SocketPowerLimitDc[i]); in beige_goby_dump_pptable()
2448 …dev_info(smu->adev->dev, "SocketPowerLimitDcTau[%d] = 0x%x\n", i, pptable->SocketPowerLimitDcTau[i… in beige_goby_dump_pptable()
[all …]
Darcturus_ppt.c430 PPTable_t *pptable = table_context->driver_pptable; in arcturus_check_fan_support() local
434 !(pptable->FeaturesToRun[0] & FEATURE_FAN_CONTROL_MASK); in arcturus_check_fan_support()
1078 PPTable_t *pptable = smu->smu_table.driver_pptable; in arcturus_get_thermal_temperature_range() local
1085 range->max = pptable->TedgeLimit * in arcturus_get_thermal_temperature_range()
1087 range->edge_emergency_max = (pptable->TedgeLimit + CTF_OFFSET_EDGE) * in arcturus_get_thermal_temperature_range()
1089 range->hotspot_crit_max = pptable->ThotspotLimit * in arcturus_get_thermal_temperature_range()
1091 range->hotspot_emergency_max = (pptable->ThotspotLimit + CTF_OFFSET_HOTSPOT) * in arcturus_get_thermal_temperature_range()
1093 range->mem_crit_max = pptable->TmemLimit * in arcturus_get_thermal_temperature_range()
1095 range->mem_emergency_max = (pptable->TmemLimit + CTF_OFFSET_MEM)* in arcturus_get_thermal_temperature_range()
1107 PPTable_t *pptable = table_context->driver_pptable; in arcturus_read_sensor() local
[all …]
Dnavi10_ppt.c1220 PPTable_t *pptable = smu->smu_table.driver_pptable; in navi10_is_support_fine_grained_dpm() local
1227 dpm_desc = &pptable->DpmDescriptor[clk_index]; in navi10_is_support_fine_grained_dpm()
1262 PPTable_t *pptable = (PPTable_t *)table_context->driver_pptable; in navi10_emit_clk_levels() local
1343 pptable->LclkFreq[i], in navi10_emit_clk_levels()
1469 PPTable_t *pptable = (PPTable_t *)table_context->driver_pptable; in navi10_print_clk_levels() local
1543 pptable->LclkFreq[i], in navi10_print_clk_levels()
1894 PPTable_t *pptable = smu->smu_table.driver_pptable; in navi10_get_fan_parameters() local
1896 smu->fan_max_rpm = pptable->FanMaximumRpm; in navi10_get_fan_parameters()
2176 PPTable_t *pptable = table_context->driver_pptable; in navi10_read_sensor() local
2183 *(uint32_t *)data = pptable->FanMaximumRpm; in navi10_read_sensor()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_0_ppt.c517 PPTable_t *pptable = table_context->driver_pptable; in smu_v13_0_0_set_default_dpm_table() local
518 SkuTable_t *skutable = &pptable->SkuTable; in smu_v13_0_0_set_default_dpm_table()
673 PPTable_t *pptable = table_context->driver_pptable; in smu_v13_0_0_dump_pptable() local
674 SkuTable_t *skutable = &pptable->SkuTable; in smu_v13_0_0_dump_pptable()
1258 PPTable_t *pptable = smu->smu_table.driver_pptable; in smu_v13_0_0_get_thermal_temperature_range() local
1265 range->max = pptable->SkuTable.TemperatureLimit[TEMP_EDGE] * in smu_v13_0_0_get_thermal_temperature_range()
1267 range->edge_emergency_max = (pptable->SkuTable.TemperatureLimit[TEMP_EDGE] + CTF_OFFSET_EDGE) * in smu_v13_0_0_get_thermal_temperature_range()
1269 range->hotspot_crit_max = pptable->SkuTable.TemperatureLimit[TEMP_HOTSPOT] * in smu_v13_0_0_get_thermal_temperature_range()
1271 …range->hotspot_emergency_max = (pptable->SkuTable.TemperatureLimit[TEMP_HOTSPOT] + CTF_OFFSET_HOTS… in smu_v13_0_0_get_thermal_temperature_range()
1273 range->mem_crit_max = pptable->SkuTable.TemperatureLimit[TEMP_MEM] * in smu_v13_0_0_get_thermal_temperature_range()
[all …]
Dsmu_v13_0_7_ppt.c685 PPTable_t *pptable = table_context->driver_pptable; in smu_v13_0_7_dump_pptable() local
686 SkuTable_t *skutable = &pptable->SkuTable; in smu_v13_0_7_dump_pptable()
1210 PPTable_t *pptable = smu->smu_table.driver_pptable; in smu_v13_0_7_get_thermal_temperature_range() local
1217 range->max = pptable->SkuTable.TemperatureLimit[TEMP_EDGE] * in smu_v13_0_7_get_thermal_temperature_range()
1219 range->edge_emergency_max = (pptable->SkuTable.TemperatureLimit[TEMP_EDGE] + CTF_OFFSET_EDGE) * in smu_v13_0_7_get_thermal_temperature_range()
1221 range->hotspot_crit_max = pptable->SkuTable.TemperatureLimit[TEMP_HOTSPOT] * in smu_v13_0_7_get_thermal_temperature_range()
1223 …range->hotspot_emergency_max = (pptable->SkuTable.TemperatureLimit[TEMP_HOTSPOT] + CTF_OFFSET_HOTS… in smu_v13_0_7_get_thermal_temperature_range()
1225 range->mem_crit_max = pptable->SkuTable.TemperatureLimit[TEMP_MEM] * in smu_v13_0_7_get_thermal_temperature_range()
1227 range->mem_emergency_max = (pptable->SkuTable.TemperatureLimit[TEMP_MEM] + CTF_OFFSET_MEM)* in smu_v13_0_7_get_thermal_temperature_range()
1399 PPTable_t *pptable = table_context->driver_pptable; in smu_v13_0_7_enable_mgpu_fan_boost() local
[all …]
Daldebaran_ppt.c311 PPTable_t *pptable = smu->smu_table.driver_pptable; in aldebaran_set_default_dpm_table() local
335 dpm_table->dpm_levels[0].value = pptable->GfxclkFmin; in aldebaran_set_default_dpm_table()
337 dpm_table->dpm_levels[1].value = pptable->GfxclkFmax; in aldebaran_set_default_dpm_table()
1050 PPTable_t *pptable = smu->smu_table.driver_pptable; in aldebaran_get_thermal_temperature_range() local
1057 range->hotspot_crit_max = pptable->ThotspotLimit * in aldebaran_get_thermal_temperature_range()
1059 range->hotspot_emergency_max = (pptable->ThotspotLimit + CTF_OFFSET_HOTSPOT) * in aldebaran_get_thermal_temperature_range()
1061 range->mem_crit_max = pptable->TmemLimit * in aldebaran_get_thermal_temperature_range()
1063 range->mem_emergency_max = (pptable->TmemLimit + CTF_OFFSET_MEM)* in aldebaran_get_thermal_temperature_range()
1200 PPTable_t *pptable = smu->smu_table.driver_pptable; in aldebaran_get_power_limit() local
1227 if (!pptable) { in aldebaran_get_power_limit()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dvegam_smumgr.c336 (struct phm_ppt_v1_information *)(hwmgr->pptable); in vegam_update_uvd_smc_table()
369 (struct phm_ppt_v1_information *)(hwmgr->pptable); in vegam_update_vce_smc_table()
401 (struct phm_ppt_v1_information *)(hwmgr->pptable); in vegam_update_bif_smc_table()
436 (struct phm_ppt_v1_information *)(hwmgr->pptable); in vegam_initialize_power_tune_defaults()
508 (struct phm_ppt_v1_information *)(hwmgr->pptable); in vegam_populate_cac_table()
545 (struct phm_ppt_v1_information *)(hwmgr->pptable); in vegam_populate_ulv_level()
818 (struct phm_ppt_v1_information *)(hwmgr->pptable); in vegam_populate_single_graphic_level()
871 (struct phm_ppt_v1_information *)(hwmgr->pptable); in vegam_populate_all_graphic_levels()
987 (struct phm_ppt_v1_information *)(hwmgr->pptable); in vegam_populate_single_memory_level()
1091 (struct phm_ppt_v1_information *)(hwmgr->pptable); in vegam_populate_mvdd_value()
[all …]
Dfiji_smumgr.c471 (struct phm_ppt_v1_information *)(hwmgr->pptable); in fiji_initialize_power_tune_defaults()
493 (struct phm_ppt_v1_information *)(hwmgr->pptable); in fiji_populate_bapm_parameters_in_dpm_table()
587 (struct phm_ppt_v1_information *)(hwmgr->pptable); in fiji_populate_tdc_limit()
673 (struct phm_ppt_v1_information *)(hwmgr->pptable); in fiji_populate_bapm_vddc_base_leakage_sidd()
761 (struct phm_ppt_v1_information *)(hwmgr->pptable); in fiji_populate_cac_table()
801 (struct phm_ppt_v1_information *)(hwmgr->pptable); in fiji_populate_ulv_level()
944 (struct phm_ppt_v1_information *)(hwmgr->pptable); in fiji_populate_single_graphic_level()
1006 (struct phm_ppt_v1_information *)(hwmgr->pptable); in fiji_populate_all_graphic_levels()
1166 (struct phm_ppt_v1_information *)(hwmgr->pptable); in fiji_populate_single_memory_level()
1276 (struct phm_ppt_v1_information *)(hwmgr->pptable); in fiji_populate_mvdd_value()
[all …]
Dpolaris10_smumgr.c434 (struct phm_ppt_v1_information *)(hwmgr->pptable); in polaris10_populate_bapm_parameters_in_dpm_table()
508 (struct phm_ppt_v1_information *)(hwmgr->pptable); in polaris10_populate_tdc_limit()
588 (struct phm_ppt_v1_information *)(hwmgr->pptable); in polaris10_populate_bapm_vddc_base_leakage_sidd()
748 (struct phm_ppt_v1_information *)(hwmgr->pptable); in polaris10_populate_cac_table()
783 (struct phm_ppt_v1_information *)(hwmgr->pptable); in polaris10_populate_ulv_level()
963 (struct phm_ppt_v1_information *)(hwmgr->pptable); in polaris10_populate_single_graphic_level()
1042 (struct phm_ppt_v1_information *)(hwmgr->pptable); in polaris10_populate_all_graphic_levels()
1158 (struct phm_ppt_v1_information *)(hwmgr->pptable); in polaris10_populate_single_memory_level()
1257 (struct phm_ppt_v1_information *)(hwmgr->pptable); in polaris10_populate_mvdd_value()
1284 (struct phm_ppt_v1_information *)(hwmgr->pptable); in polaris10_populate_smc_acpi_level()
[all …]
Dtonga_smumgr.c253 (struct phm_ppt_v1_information *)(hwmgr->pptable); in tonga_get_dependency_volt_by_clk()
398 (struct phm_ppt_v1_information *)(hwmgr->pptable); in tonga_populate_cac_tables()
483 (struct phm_ppt_v1_information *)(hwmgr->pptable); in tonga_populate_ulv_level()
624 (struct phm_ppt_v1_information *)(hwmgr->pptable); in tonga_populate_single_graphic_level()
690 struct phm_ppt_v1_information *pptable_info = (struct phm_ppt_v1_information *)(hwmgr->pptable); in tonga_populate_all_graphic_levels()
967 (struct phm_ppt_v1_information *)(hwmgr->pptable); in tonga_populate_single_memory_level()
1148 (struct phm_ppt_v1_information *)(hwmgr->pptable); in tonga_populate_mvdd_value()
1316 (struct phm_ppt_v1_information *)(hwmgr->pptable); in tonga_populate_smc_uvd_level()
1376 (struct phm_ppt_v1_information *)(hwmgr->pptable); in tonga_populate_smc_vce_level()
1421 (struct phm_ppt_v1_information *)(hwmgr->pptable); in tonga_populate_smc_acp_level()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/
Dsmu_cmn.c911 void *pptable = smu->smu_table.driver_pptable; in smu_cmn_write_pptable() local
916 pptable, in smu_cmn_write_pptable()
952 void *pptable = smu->smu_table.combo_pptable; in smu_cmn_get_combo_pptable() local
957 pptable, in smu_cmn_get_combo_pptable()
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/inc/
Dhwmgr.h770 void *pptable; member

12