Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega20_processpptables.c66 static void dump_pptable(PPTable_t *pptable)
70 pr_info("Version = 0x%08x\n", pptable->Version);
72 pr_info("FeaturesToRun[0] = 0x%08x\n", pptable->FeaturesToRun[0]);
73 pr_info("FeaturesToRun[1] = 0x%08x\n", pptable->FeaturesToRun[1]);
75 pr_info("SocketPowerLimitAc0 = %d\n", pptable->SocketPowerLimitAc0);
76 pr_info("SocketPowerLimitAc0Tau = %d\n", pptable->SocketPowerLimitAc0Tau);
77 pr_info("SocketPowerLimitAc1 = %d\n", pptable->SocketPowerLimitAc1);
78 pr_info("SocketPowerLimitAc1Tau = %d\n", pptable->SocketPowerLimitAc1Tau);
79 pr_info("SocketPowerLimitAc2 = %d\n", pptable->SocketPowerLimitAc2);
80 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()
1144 hwmgr->pptable = kzalloc(sizeof(struct phm_ppt_v1_information), GFP_KERNEL); in pp_tables_v1_0_initialize()
1146 PP_ASSERT_WITH_CODE((NULL != hwmgr->pptable), in pp_tables_v1_0_initialize()
1191 (struct phm_ppt_v1_information *)(hwmgr->pptable); in pp_tables_v1_0_uninitialize()
1229 kfree(hwmgr->pptable); in pp_tables_v1_0_uninitialize()
1230 hwmgr->pptable = NULL; in pp_tables_v1_0_uninitialize()
[all …]
Dvega12_processpptables.c195 (struct phm_ppt_v3_information *)hwmgr->pptable; in init_powerplay_table_information()
266 hwmgr->pptable = kzalloc(sizeof(struct phm_ppt_v3_information), GFP_KERNEL); in vega12_pp_tables_initialize()
267 PP_ASSERT_WITH_CODE((hwmgr->pptable != NULL), in vega12_pp_tables_initialize()
293 (struct phm_ppt_v3_information *)(hwmgr->pptable); in vega12_pp_tables_uninitialize()
310 kfree(hwmgr->pptable); in vega12_pp_tables_uninitialize()
311 hwmgr->pptable = NULL; in vega12_pp_tables_uninitialize()
Dvega10_hwmgr.c197 (struct phm_ppt_v2_information *)hwmgr->pptable; in vega10_set_features_platform_caps()
307 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_odn_initial_default_setting()
531 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_get_socclk_for_voltage_evv()
568 (struct phm_ppt_v2_information *)hwmgr->pptable; in vega10_get_evv_voltages()
673 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_patch_voltage_dependency_tables_with_lookup_table()
749 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_complete_dependency_tables()
778 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_set_private_data_based_on_pptable()
1174 (struct phm_ppt_v2_information *)hwmgr->pptable; in vega10_construct_voltage_tables()
1263 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_setup_default_pcie_table()
1311 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_setup_default_dpm_tables()
[all …]
Dvega10_processpptables.c789 (struct phm_ppt_v2_information *)(hwmgr->pptable); in get_pcie_table()
877 (struct phm_ppt_v2_information *)(hwmgr->pptable); in init_powerplay_extended_tables()
1065 (struct phm_ppt_v2_information *)(hwmgr->pptable); in init_dpm_2_parameters()
1152 hwmgr->pptable = kzalloc(sizeof(struct phm_ppt_v2_information), GFP_KERNEL); in vega10_pp_tables_initialize()
1154 PP_ASSERT_WITH_CODE((hwmgr->pptable != NULL), in vega10_pp_tables_initialize()
1199 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_pp_tables_uninitialize()
1237 kfree(hwmgr->pptable); in vega10_pp_tables_uninitialize()
1238 hwmgr->pptable = NULL; in vega10_pp_tables_uninitialize()
Dsmu7_hwmgr.c320 (struct phm_ppt_v1_information *)hwmgr->pptable; in smu7_construct_voltage_tables()
639 (struct phm_ppt_v1_information *)(hwmgr->pptable); in smu7_setup_default_pcie_table()
871 (struct phm_ppt_v1_information *)(hwmgr->pptable); in smu7_setup_dpm_tables_v1()
937 (struct phm_ppt_v1_information *)(hwmgr->pptable); in smu7_odn_initial_default_setting()
982 (struct phm_ppt_v1_information *)(hwmgr->pptable); in smu7_setup_voltage_range_from_vbios()
1010 (struct phm_ppt_v1_information *)(hwmgr->pptable); in smu7_check_dpm_table_updated()
1537 (struct phm_ppt_v1_information *)(hwmgr->pptable); in smu7_populate_umdpstate_clocks()
1805 (struct phm_ppt_v1_information *)(hwmgr->pptable); in smu7_init_dpm_defaults()
2054 (struct phm_ppt_v1_information *)hwmgr->pptable; in smu7_get_evv_voltages()
2191 (struct phm_ppt_v1_information *)(hwmgr->pptable); in smu7_patch_clock_voltage_limits_with_vddc_leakage()
[all …]
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()
Dvega12_thermal.c174 (struct phm_ppt_v3_information *)hwmgr->pptable; in vega12_thermal_set_temperature_range()
Dvega20_thermal.c245 (struct phm_ppt_v3_information *)hwmgr->pptable; in vega20_thermal_set_temperature_range()
Dvega20_hwmgr.c798 (struct phm_ppt_v3_information *)hwmgr->pptable; in vega20_init_smc_table()
1051 (struct phm_ppt_v3_information *)hwmgr->pptable; in vega20_od8_set_feature_capabilities()
1251 (struct phm_ppt_v3_information *)hwmgr->pptable; in vega20_od8_initialize_default_settings()
2804 (struct phm_ppt_v2_information *)hwmgr->pptable; in vega20_get_dal_power_level()
3374 PPTable_t *pptable = &(data->smc_state_table.pp_table); in vega20_print_clock_levels() local
3473 gen_speed = pptable->PcieGenSpeed[i]; in vega20_print_clock_levels()
3474 lane_width = pptable->PcieLaneCount[i]; in vega20_print_clock_levels()
3487 pptable->LclkFreq[i], in vega20_print_clock_levels()
4233 (struct phm_ppt_v3_information *)hwmgr->pptable; in vega20_get_thermal_temperature_range()
Dvega10_thermal.c363 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_thermal_set_temperature_range()
Dvega10_powertune.c1240 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_initialize_power_tune_defaults()
1291 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_enable_power_containment()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsienna_cichlid_ppt.c399 PPTable_t *pptable = table_context->driver_pptable; in sienna_cichlid_check_fan_support() local
400 uint64_t features = *(uint64_t *) pptable->FeaturesToRun; in sienna_cichlid_check_fan_support()
2499 PPTable_beige_goby_t *pptable = table_context->driver_pptable; in beige_goby_dump_pptable() local
2504 dev_info(smu->adev->dev, "Version = 0x%08x\n", pptable->Version); in beige_goby_dump_pptable()
2505 dev_info(smu->adev->dev, "FeaturesToRun[0] = 0x%08x\n", pptable->FeaturesToRun[0]); in beige_goby_dump_pptable()
2506 dev_info(smu->adev->dev, "FeaturesToRun[1] = 0x%08x\n", pptable->FeaturesToRun[1]); in beige_goby_dump_pptable()
2509 dev_info(smu->adev->dev, "SocketPowerLimitAc[%d] = 0x%x\n", i, pptable->SocketPowerLimitAc[i]); in beige_goby_dump_pptable()
2510 …dev_info(smu->adev->dev, "SocketPowerLimitAcTau[%d] = 0x%x\n", i, pptable->SocketPowerLimitAcTau[i… in beige_goby_dump_pptable()
2511 dev_info(smu->adev->dev, "SocketPowerLimitDc[%d] = 0x%x\n", i, pptable->SocketPowerLimitDc[i]); in beige_goby_dump_pptable()
2512 …dev_info(smu->adev->dev, "SocketPowerLimitDcTau[%d] = 0x%x\n", i, pptable->SocketPowerLimitDcTau[i… in beige_goby_dump_pptable()
[all …]
Darcturus_ppt.c472 PPTable_t *pptable = table_context->driver_pptable; in arcturus_check_fan_support() local
476 !(pptable->FeaturesToRun[0] & FEATURE_FAN_CONTROL_MASK); in arcturus_check_fan_support()
1071 PPTable_t *pptable = smu->smu_table.driver_pptable; in arcturus_get_thermal_temperature_range() local
1078 range->max = pptable->TedgeLimit * in arcturus_get_thermal_temperature_range()
1080 range->edge_emergency_max = (pptable->TedgeLimit + CTF_OFFSET_EDGE) * in arcturus_get_thermal_temperature_range()
1082 range->hotspot_crit_max = pptable->ThotspotLimit * in arcturus_get_thermal_temperature_range()
1084 range->hotspot_emergency_max = (pptable->ThotspotLimit + CTF_OFFSET_HOTSPOT) * in arcturus_get_thermal_temperature_range()
1086 range->mem_crit_max = pptable->TmemLimit * in arcturus_get_thermal_temperature_range()
1088 range->mem_emergency_max = (pptable->TmemLimit + CTF_OFFSET_MEM)* in arcturus_get_thermal_temperature_range()
1100 PPTable_t *pptable = table_context->driver_pptable; in arcturus_read_sensor() local
[all …]
Dnavi10_ppt.c1224 PPTable_t *pptable = smu->smu_table.driver_pptable; in navi10_is_support_fine_grained_dpm() local
1234 dpm_desc = &pptable->DpmDescriptor[clk_index]; in navi10_is_support_fine_grained_dpm()
1269 PPTable_t *pptable = (PPTable_t *)table_context->driver_pptable; in navi10_emit_clk_levels() local
1354 pptable->LclkFreq[i], in navi10_emit_clk_levels()
1478 PPTable_t *pptable = (PPTable_t *)table_context->driver_pptable; in navi10_print_clk_levels() local
1556 pptable->LclkFreq[i], in navi10_print_clk_levels()
1909 PPTable_t *pptable = smu->smu_table.driver_pptable; in navi10_get_fan_parameters() local
1911 smu->fan_max_rpm = pptable->FanMaximumRpm; in navi10_get_fan_parameters()
2197 PPTable_t *pptable = table_context->driver_pptable; in navi10_read_sensor() local
2204 *(uint32_t *)data = pptable->FanMaximumRpm; in navi10_read_sensor()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_6_ppt.c584 struct PPTable_t *pptable = in smu_v13_0_6_setup_driver_pptable() local
591 if (!pptable->Init) { in smu_v13_0_6_setup_driver_pptable()
614 pptable->MaxSocketPowerLimit = in smu_v13_0_6_setup_driver_pptable()
616 pptable->MaxGfxclkFrequency = in smu_v13_0_6_setup_driver_pptable()
618 pptable->MinGfxclkFrequency = in smu_v13_0_6_setup_driver_pptable()
622 pptable->FclkFrequencyTable[i] = in smu_v13_0_6_setup_driver_pptable()
624 pptable->UclkFrequencyTable[i] = in smu_v13_0_6_setup_driver_pptable()
626 pptable->SocclkFrequencyTable[i] = SMUQ10_ROUND( in smu_v13_0_6_setup_driver_pptable()
628 pptable->VclkFrequencyTable[i] = in smu_v13_0_6_setup_driver_pptable()
630 pptable->DclkFrequencyTable[i] = in smu_v13_0_6_setup_driver_pptable()
[all …]
Dsmu_v13_0_0_ppt.c350 PPTable_t *pptable = smu->smu_table.driver_pptable; in smu_v13_0_0_check_powerplay_table() local
352 &pptable->SkuTable.OverDriveLimitsBasicMax; in smu_v13_0_0_check_powerplay_table()
354 &pptable->SkuTable.OverDriveLimitsMin; in smu_v13_0_0_check_powerplay_table()
380 !(pptable->SkuTable.FeaturesToRun[0] & (1 << FEATURE_FAN_CONTROL_BIT)); in smu_v13_0_0_check_powerplay_table()
570 PPTable_t *pptable = table_context->driver_pptable; in smu_v13_0_0_set_default_dpm_table() local
571 SkuTable_t *skutable = &pptable->SkuTable; in smu_v13_0_0_set_default_dpm_table()
742 PPTable_t *pptable = table_context->driver_pptable; in smu_v13_0_0_dump_pptable() local
743 SkuTable_t *skutable = &pptable->SkuTable; in smu_v13_0_0_dump_pptable()
1082 PPTable_t *pptable = smu->smu_table.driver_pptable; in smu_v13_0_0_is_od_feature_supported() local
1084 &pptable->SkuTable.OverDriveLimitsBasicMax; in smu_v13_0_0_is_od_feature_supported()
[all …]
Dsmu_v13_0_7_ppt.c740 PPTable_t *pptable = table_context->driver_pptable; in smu_v13_0_7_dump_pptable() local
741 SkuTable_t *skutable = &pptable->SkuTable; in smu_v13_0_7_dump_pptable()
1071 PPTable_t *pptable = smu->smu_table.driver_pptable; in smu_v13_0_7_is_od_feature_supported() local
1073 &pptable->SkuTable.OverDriveLimitsBasicMax; in smu_v13_0_7_is_od_feature_supported()
1083 PPTable_t *pptable = smu->smu_table.driver_pptable; in smu_v13_0_7_get_od_setting_limits() local
1085 &pptable->SkuTable.OverDriveLimitsBasicMax; in smu_v13_0_7_get_od_setting_limits()
1087 &pptable->SkuTable.OverDriveLimitsMin; in smu_v13_0_7_get_od_setting_limits()
1989 PPTable_t *pptable = smu->smu_table.driver_pptable; in smu_v13_0_7_get_thermal_temperature_range() local
1996 range->max = pptable->SkuTable.TemperatureLimit[TEMP_EDGE] * in smu_v13_0_7_get_thermal_temperature_range()
1998 range->edge_emergency_max = (pptable->SkuTable.TemperatureLimit[TEMP_EDGE] + CTF_OFFSET_EDGE) * in smu_v13_0_7_get_thermal_temperature_range()
[all …]
Daldebaran_ppt.c349 PPTable_t *pptable = smu->smu_table.driver_pptable; in aldebaran_set_default_dpm_table() local
373 dpm_table->dpm_levels[0].value = pptable->GfxclkFmin; in aldebaran_set_default_dpm_table()
375 dpm_table->dpm_levels[1].value = pptable->GfxclkFmax; in aldebaran_set_default_dpm_table()
1046 PPTable_t *pptable = smu->smu_table.driver_pptable; in aldebaran_get_thermal_temperature_range() local
1053 range->hotspot_crit_max = pptable->ThotspotLimit * in aldebaran_get_thermal_temperature_range()
1055 range->hotspot_emergency_max = (pptable->ThotspotLimit + CTF_OFFSET_HOTSPOT) * in aldebaran_get_thermal_temperature_range()
1057 range->mem_crit_max = pptable->TmemLimit * in aldebaran_get_thermal_temperature_range()
1059 range->mem_emergency_max = (pptable->TmemLimit + CTF_OFFSET_MEM)* in aldebaran_get_thermal_temperature_range()
1190 PPTable_t *pptable = smu->smu_table.driver_pptable; in aldebaran_get_power_limit() local
1218 if (!pptable) { in aldebaran_get_power_limit()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu14/
Dsmu_v14_0_2_ppt.c323 PPTable_t *pptable = smu->smu_table.driver_pptable; in smu_v14_0_2_check_powerplay_table() local
325 &pptable->SkuTable.OverDriveLimitsBasicMax; in smu_v14_0_2_check_powerplay_table()
327 &pptable->SkuTable.OverDriveLimitsBasicMin; in smu_v14_0_2_check_powerplay_table()
353 !(pptable->PFE_Settings.FeaturesToRun[0] & (1 << FEATURE_FAN_CONTROL_BIT)); in smu_v14_0_2_check_powerplay_table()
501 PPTable_t *pptable = table_context->driver_pptable; in smu_v14_0_2_set_default_dpm_table() local
502 SkuTable_t *skutable = &pptable->SkuTable; in smu_v14_0_2_set_default_dpm_table()
676 PPTable_t *pptable = table_context->driver_pptable; in smu_v14_0_2_dump_pptable() local
677 PFE_Settings_t *PFEsettings = &pptable->PFE_Settings; in smu_v14_0_2_dump_pptable()
997 PPTable_t *pptable = smu->smu_table.driver_pptable; in smu_v14_0_2_is_od_feature_supported() local
999 &pptable->SkuTable.OverDriveLimitsBasicMax; in smu_v14_0_2_is_od_feature_supported()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dvegam_smumgr.c335 (struct phm_ppt_v1_information *)(hwmgr->pptable); in vegam_update_uvd_smc_table()
368 (struct phm_ppt_v1_information *)(hwmgr->pptable); in vegam_update_vce_smc_table()
400 (struct phm_ppt_v1_information *)(hwmgr->pptable); in vegam_update_bif_smc_table()
435 (struct phm_ppt_v1_information *)(hwmgr->pptable); in vegam_initialize_power_tune_defaults()
507 (struct phm_ppt_v1_information *)(hwmgr->pptable); in vegam_populate_cac_table()
544 (struct phm_ppt_v1_information *)(hwmgr->pptable); in vegam_populate_ulv_level()
817 (struct phm_ppt_v1_information *)(hwmgr->pptable); in vegam_populate_single_graphic_level()
870 (struct phm_ppt_v1_information *)(hwmgr->pptable); in vegam_populate_all_graphic_levels()
986 (struct phm_ppt_v1_information *)(hwmgr->pptable); in vegam_populate_single_memory_level()
1090 (struct phm_ppt_v1_information *)(hwmgr->pptable); in vegam_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 …]
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 …]
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.12.1/drivers/gpu/drm/amd/pm/swsmu/
Dsmu_cmn.c1005 void *pptable = smu->smu_table.driver_pptable; in smu_cmn_write_pptable() local
1010 pptable, in smu_cmn_write_pptable()
1046 void *pptable = smu->smu_table.combo_pptable; in smu_cmn_get_combo_pptable() local
1051 pptable, in smu_cmn_get_combo_pptable()

12