| /Linux-v5.15/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| D | vega20_processpptables.c | 67 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 …]
|
| D | vega12_processpptables.c | 196 (struct phm_ppt_v3_information *)hwmgr->pptable; in init_powerplay_table_information() 270 hwmgr->pptable = kzalloc(sizeof(struct phm_ppt_v3_information), GFP_KERNEL); in vega12_pp_tables_initialize() 271 PP_ASSERT_WITH_CODE((hwmgr->pptable != NULL), in vega12_pp_tables_initialize() 297 (struct phm_ppt_v3_information *)(hwmgr->pptable); in vega12_pp_tables_uninitialize() 314 kfree(hwmgr->pptable); in vega12_pp_tables_uninitialize() 315 hwmgr->pptable = NULL; in vega12_pp_tables_uninitialize()
|
| D | process_pptables_v1_0.c | 205 (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 …]
|
| D | vega10_hwmgr.c | 198 (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 …]
|
| D | vega10_processpptables.c | 790 (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()
|
| D | smu7_hwmgr.c | 321 (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 …]
|
| D | vega12_thermal.c | 174 (struct phm_ppt_v3_information *)hwmgr->pptable; in vega12_thermal_set_temperature_range()
|
| D | smu_helper.c | 467 (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()
|
| D | vega20_thermal.c | 245 (struct phm_ppt_v3_information *)hwmgr->pptable; in vega20_thermal_set_temperature_range()
|
| D | vega20_hwmgr.c | 788 (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() 3359 PPTable_t *pptable = &(data->smc_state_table.pp_table); in vega20_print_clock_levels() local 3458 gen_speed = pptable->PcieGenSpeed[i]; in vega20_print_clock_levels() 3459 lane_width = pptable->PcieLaneCount[i]; in vega20_print_clock_levels() 3472 pptable->LclkFreq[i], in vega20_print_clock_levels()
|
| D | vega10_thermal.c | 364 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_thermal_set_temperature_range()
|
| D | vega10_powertune.c | 1267 (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()
|
| D | smu10_hwmgr.c | 457 struct smu10_voltage_dependency_table **pptable, in smu10_get_clock_voltage_dependency_table() argument 475 *pptable = ptable; in smu10_get_clock_voltage_dependency_table()
|
| D | smu7_powertune.c | 1154 (struct phm_ppt_v1_information *)(hwmgr->pptable); in smu7_enable_power_containment() 1244 (struct phm_ppt_v1_information *)(hwmgr->pptable); in smu7_power_control_set_level()
|
| D | vega12_hwmgr.c | 819 (struct phm_ppt_v3_information *)hwmgr->pptable; in vega12_init_smc_table() 1799 (struct phm_ppt_v2_information *)hwmgr->pptable; in vega12_get_dal_power_level()
|
| /Linux-v5.15/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
| D | sienna_cichlid_ppt.c | 2236 PPTable_beige_goby_t *pptable = table_context->driver_pptable; in beige_goby_dump_pptable() local 2241 dev_info(smu->adev->dev, "Version = 0x%08x\n", pptable->Version); in beige_goby_dump_pptable() 2242 dev_info(smu->adev->dev, "FeaturesToRun[0] = 0x%08x\n", pptable->FeaturesToRun[0]); in beige_goby_dump_pptable() 2243 dev_info(smu->adev->dev, "FeaturesToRun[1] = 0x%08x\n", pptable->FeaturesToRun[1]); in beige_goby_dump_pptable() 2246 dev_info(smu->adev->dev, "SocketPowerLimitAc[%d] = 0x%x\n", i, pptable->SocketPowerLimitAc[i]); in beige_goby_dump_pptable() 2247 …dev_info(smu->adev->dev, "SocketPowerLimitAcTau[%d] = 0x%x\n", i, pptable->SocketPowerLimitAcTau[i… in beige_goby_dump_pptable() 2248 dev_info(smu->adev->dev, "SocketPowerLimitDc[%d] = 0x%x\n", i, pptable->SocketPowerLimitDc[i]); in beige_goby_dump_pptable() 2249 …dev_info(smu->adev->dev, "SocketPowerLimitDcTau[%d] = 0x%x\n", i, pptable->SocketPowerLimitDcTau[i… in beige_goby_dump_pptable() 2253 dev_info(smu->adev->dev, "TdcLimit[%d] = 0x%x\n", i, pptable->TdcLimit[i]); in beige_goby_dump_pptable() 2254 dev_info(smu->adev->dev, "TdcLimitTau[%d] = 0x%x\n", i, pptable->TdcLimitTau[i]); in beige_goby_dump_pptable() [all …]
|
| D | arcturus_ppt.c | 1081 PPTable_t *pptable = smu->smu_table.driver_pptable; in arcturus_get_thermal_temperature_range() local 1088 range->max = pptable->TedgeLimit * in arcturus_get_thermal_temperature_range() 1090 range->edge_emergency_max = (pptable->TedgeLimit + CTF_OFFSET_EDGE) * in arcturus_get_thermal_temperature_range() 1092 range->hotspot_crit_max = pptable->ThotspotLimit * in arcturus_get_thermal_temperature_range() 1094 range->hotspot_emergency_max = (pptable->ThotspotLimit + CTF_OFFSET_HOTSPOT) * in arcturus_get_thermal_temperature_range() 1096 range->mem_crit_max = pptable->TmemLimit * in arcturus_get_thermal_temperature_range() 1098 range->mem_emergency_max = (pptable->TmemLimit + CTF_OFFSET_MEM)* in arcturus_get_thermal_temperature_range() 1110 PPTable_t *pptable = table_context->driver_pptable; in arcturus_read_sensor() local 1122 *(uint32_t *)data = pptable->FanMaximumRpm; in arcturus_read_sensor() 1326 PPTable_t *pptable = smu->smu_table.driver_pptable; in arcturus_get_fan_parameters() local [all …]
|
| D | navi10_ppt.c | 1236 PPTable_t *pptable = smu->smu_table.driver_pptable; in navi10_is_support_fine_grained_dpm() local 1243 dpm_desc = &pptable->DpmDescriptor[clk_index]; in navi10_is_support_fine_grained_dpm() 1276 PPTable_t *pptable = (PPTable_t *)table_context->driver_pptable; in navi10_print_clk_levels() local 1347 pptable->LclkFreq[i], in navi10_print_clk_levels() 1701 PPTable_t *pptable = smu->smu_table.driver_pptable; in navi10_get_fan_parameters() local 1703 smu->fan_max_rpm = pptable->FanMaximumRpm; in navi10_get_fan_parameters() 1991 PPTable_t *pptable = table_context->driver_pptable; in navi10_read_sensor() local 1999 *(uint32_t *)data = pptable->FanMaximumRpm; in navi10_read_sensor() 2096 PPTable_t *pptable = smu->smu_table.driver_pptable; in navi10_get_thermal_temperature_range() local 2103 range->max = pptable->TedgeLimit * in navi10_get_thermal_temperature_range() [all …]
|
| /Linux-v5.15/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
| D | vegam_smumgr.c | 336 (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 …]
|
| D | fiji_smumgr.c | 471 (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 …]
|
| D | polaris10_smumgr.c | 434 (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 …]
|
| D | tonga_smumgr.c | 253 (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-v5.15/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
| D | aldebaran_ppt.c | 295 PPTable_t *pptable = smu->smu_table.driver_pptable; in aldebaran_set_default_dpm_table() local 319 dpm_table->dpm_levels[0].value = pptable->GfxclkFmin; in aldebaran_set_default_dpm_table() 321 dpm_table->dpm_levels[1].value = pptable->GfxclkFmax; in aldebaran_set_default_dpm_table() 1043 PPTable_t *pptable = smu->smu_table.driver_pptable; in aldebaran_get_thermal_temperature_range() local 1050 range->hotspot_crit_max = pptable->ThotspotLimit * in aldebaran_get_thermal_temperature_range() 1052 range->hotspot_emergency_max = (pptable->ThotspotLimit + CTF_OFFSET_HOTSPOT) * in aldebaran_get_thermal_temperature_range() 1054 range->mem_crit_max = pptable->TmemLimit * in aldebaran_get_thermal_temperature_range() 1056 range->mem_emergency_max = (pptable->TmemLimit + CTF_OFFSET_MEM)* in aldebaran_get_thermal_temperature_range() 1195 PPTable_t *pptable = smu->smu_table.driver_pptable; in aldebaran_get_power_limit() local 1222 if (!pptable) { in aldebaran_get_power_limit() [all …]
|
| /Linux-v5.15/drivers/gpu/drm/amd/pm/swsmu/ |
| D | smu_cmn.c | 932 void *pptable = smu->smu_table.driver_pptable; in smu_cmn_write_pptable() local 937 pptable, in smu_cmn_write_pptable()
|
| /Linux-v5.15/drivers/gpu/drm/amd/pm/inc/ |
| D | hwmgr.h | 772 void *pptable; member
|