| /drivers/gpu/drm/amd/pm/swsmu/smu13/ |
| A D | smu_v13_0_12_ppt.c | 220 struct PPTable_t *pptable = in smu_v13_0_12_setup_driver_pptable() local 225 if (!pptable->Init) { in smu_v13_0_12_setup_driver_pptable() 237 pptable->MaxSocketPowerLimit = in smu_v13_0_12_setup_driver_pptable() 239 pptable->MaxGfxclkFrequency = in smu_v13_0_12_setup_driver_pptable() 241 pptable->MinGfxclkFrequency = in smu_v13_0_12_setup_driver_pptable() 245 pptable->FclkFrequencyTable[i] = in smu_v13_0_12_setup_driver_pptable() 247 pptable->UclkFrequencyTable[i] = in smu_v13_0_12_setup_driver_pptable() 251 pptable->VclkFrequencyTable[i] = in smu_v13_0_12_setup_driver_pptable() 253 pptable->DclkFrequencyTable[i] = in smu_v13_0_12_setup_driver_pptable() 255 pptable->LclkFrequencyTable[i] = in smu_v13_0_12_setup_driver_pptable() [all …]
|
| A D | smu_v13_0_0_ppt.c | 354 &pptable->SkuTable.OverDriveLimitsBasicMax; in smu_v13_0_0_check_powerplay_table() 356 &pptable->SkuTable.OverDriveLimitsMin; in smu_v13_0_0_check_powerplay_table() 573 SkuTable_t *skutable = &pptable->SkuTable; in smu_v13_0_0_set_default_dpm_table() 1063 &pptable->SkuTable.OverDriveLimitsBasicMax; in smu_v13_0_0_is_od_feature_supported() 1075 &pptable->SkuTable.OverDriveLimitsBasicMax; in smu_v13_0_0_get_od_setting_limits() 1077 &pptable->SkuTable.OverDriveLimitsMin; in smu_v13_0_0_get_od_setting_limits() 2322 pptable->SkuTable.DriverReportedClocks; in smu_v13_0_0_populate_umd_state_clk() 2417 SkuTable_t *skutable = &pptable->SkuTable; in smu_v13_0_0_enable_mgpu_fan_boost() 2442 SkuTable_t *skutable = &pptable->SkuTable; in smu_v13_0_0_get_power_limit() 3089 SkuTable_t *skutable = &pptable->SkuTable; in smu_v13_0_0_set_power_limit() [all …]
|
| A D | smu_v13_0_7_ppt.c | 1050 PPTable_t *pptable = smu->smu_table.driver_pptable; in smu_v13_0_7_is_od_feature_supported() local 1052 &pptable->SkuTable.OverDriveLimitsBasicMax; in smu_v13_0_7_is_od_feature_supported() 1062 PPTable_t *pptable = smu->smu_table.driver_pptable; in smu_v13_0_7_get_od_setting_limits() local 1064 &pptable->SkuTable.OverDriveLimitsBasicMax; in smu_v13_0_7_get_od_setting_limits() 1066 &pptable->SkuTable.OverDriveLimitsMin; in smu_v13_0_7_get_od_setting_limits() 2065 PPTable_t *pptable = smu->smu_table.driver_pptable; in smu_v13_0_7_get_thermal_temperature_range() local 2308 pptable->SkuTable.DriverReportedClocks; in smu_v13_0_7_populate_umd_state_clk() 2383 SkuTable_t *skutable = &pptable->SkuTable; in smu_v13_0_7_enable_mgpu_fan_boost() 2408 SkuTable_t *skutable = &pptable->SkuTable; in smu_v13_0_7_get_power_limit() 2678 SkuTable_t *skutable = &pptable->SkuTable; in smu_v13_0_7_set_power_limit() [all …]
|
| A D | smu_v13_0_6_ppt.c | 803 struct PPTable_t *pptable = in smu_v13_0_6_setup_driver_pptable() local 816 if (!pptable->Init) { in smu_v13_0_6_setup_driver_pptable() 839 pptable->MaxSocketPowerLimit = in smu_v13_0_6_setup_driver_pptable() 841 pptable->MaxGfxclkFrequency = in smu_v13_0_6_setup_driver_pptable() 843 pptable->MinGfxclkFrequency = in smu_v13_0_6_setup_driver_pptable() 868 pptable->Init = true; in smu_v13_0_6_setup_driver_pptable() 886 struct PPTable_t *pptable = in smu_v13_0_6_get_dpm_ultimate_freq() local 893 if (pptable->Init) { in smu_v13_0_6_get_dpm_ultimate_freq() 992 struct PPTable_t *pptable = in smu_v13_0_6_set_default_dpm_table() local 1750 struct PPTable_t *pptable = in smu_v13_0_6_get_power_limit() local [all …]
|
| A D | aldebaran_ppt.c | 404 PPTable_t *pptable = smu->smu_table.driver_pptable; in aldebaran_set_default_dpm_table() local 428 dpm_table->dpm_levels[0].value = pptable->GfxclkFmin; in aldebaran_set_default_dpm_table() 430 dpm_table->dpm_levels[1].value = pptable->GfxclkFmax; in aldebaran_set_default_dpm_table() 1101 PPTable_t *pptable = smu->smu_table.driver_pptable; in aldebaran_get_thermal_temperature_range() local 1108 range->hotspot_crit_max = pptable->ThotspotLimit * in aldebaran_get_thermal_temperature_range() 1112 range->mem_crit_max = pptable->TmemLimit * in aldebaran_get_thermal_temperature_range() 1245 PPTable_t *pptable = smu->smu_table.driver_pptable; in aldebaran_get_power_limit() local 1273 if (!pptable) { in aldebaran_get_power_limit() 1278 power_limit = pptable->PptLimit; in aldebaran_get_power_limit() 1288 if (pptable) in aldebaran_get_power_limit() [all …]
|
| /drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| A D | vega20_processpptables.c | 231 (struct phm_ppt_v3_information *)hwmgr->pptable; in override_powerplay_table_fantargettemperature() 245 (struct phm_ppt_v3_information *)hwmgr->pptable; in init_powerplay_table_information() 339 hwmgr->pptable = kzalloc(sizeof(struct phm_ppt_v3_information), GFP_KERNEL); in vega20_pp_tables_initialize() 340 PP_ASSERT_WITH_CODE((hwmgr->pptable != NULL), in vega20_pp_tables_initialize() 366 (struct phm_ppt_v3_information *)(hwmgr->pptable); in vega20_pp_tables_uninitialize() 386 kfree(hwmgr->pptable); in vega20_pp_tables_uninitialize() 387 hwmgr->pptable = NULL; in vega20_pp_tables_uninitialize()
|
| A D | process_pptables_v1_0.c | 205 (struct phm_ppt_v1_information *)(hwmgr->pptable); in get_platform_power_management_table() 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 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() 1313 + le16_to_cpu(pptable->usVCEStateTableOffset)); in ppt_get_vce_state_table_entry_v1_0() 1315 + le16_to_cpu(pptable->usSclkDependencyTableOffset)); in ppt_get_vce_state_table_entry_v1_0() [all …]
|
| A D | vega12_processpptables.c | 195 (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()
|
| A D | vega10_hwmgr.c | 197 (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() 1174 (struct phm_ppt_v2_information *)hwmgr->pptable; in vega10_construct_voltage_tables() 1927 (hwmgr->pptable); in vega10_populate_single_display_type() 4764 gen_speed = pptable->PcieGenSpeed[i]; in vega10_emit_clock_levels() 4765 lane_width = pptable->PcieLaneCount[i]; in vega10_emit_clock_levels() 4908 gen_speed = pptable->PcieGenSpeed[i]; in vega10_print_clock_levels() [all …]
|
| A D | vega10_processpptables.c | 789 (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()
|
| A D | smu7_hwmgr.c | 320 (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() 2054 (struct phm_ppt_v1_information *)hwmgr->pptable; in smu7_get_evv_voltages() 5177 (struct phm_ppt_v1_information *)hwmgr->pptable; in smu7_get_sclks() 5214 (struct phm_ppt_v1_information *)hwmgr->pptable; in smu7_get_mclks() 5259 (struct phm_ppt_v1_information *)hwmgr->pptable; in smu7_get_sclks_with_latency() [all …]
|
| A 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()
|
| A D | vega12_thermal.c | 174 (struct phm_ppt_v3_information *)hwmgr->pptable; in vega12_thermal_set_temperature_range()
|
| A D | vega20_thermal.c | 245 (struct phm_ppt_v3_information *)hwmgr->pptable; in vega20_thermal_set_temperature_range()
|
| A D | vega20_hwmgr.c | 798 (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()
|
| A D | vega10_thermal.c | 363 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_thermal_set_temperature_range()
|
| A D | vega10_powertune.c | 1241 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_initialize_power_tune_defaults() 1292 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_enable_power_containment()
|
| /drivers/gpu/drm/amd/pm/swsmu/smu14/ |
| A D | smu_v14_0_2_ppt.c | 324 PPTable_t *pptable = smu->smu_table.driver_pptable; in smu_v14_0_2_check_powerplay_table() local 326 &pptable->SkuTable.OverDriveLimitsBasicMax; in smu_v14_0_2_check_powerplay_table() 328 &pptable->SkuTable.OverDriveLimitsBasicMin; in smu_v14_0_2_check_powerplay_table() 502 PPTable_t *pptable = table_context->driver_pptable; in smu_v14_0_2_set_default_dpm_table() local 503 SkuTable_t *skutable = &pptable->SkuTable; in smu_v14_0_2_set_default_dpm_table() 972 PPTable_t *pptable = smu->smu_table.driver_pptable; in smu_v14_0_2_is_od_feature_supported() local 974 &pptable->SkuTable.OverDriveLimitsBasicMax; in smu_v14_0_2_is_od_feature_supported() 986 &pptable->SkuTable.OverDriveLimitsBasicMax; in smu_v14_0_2_get_od_setting_limits() 988 &pptable->SkuTable.OverDriveLimitsBasicMin; in smu_v14_0_2_get_od_setting_limits() 1472 SkuTable_t *skutable = &pptable->SkuTable; in smu_v14_0_2_update_pcie_parameters() [all …]
|
| /drivers/gpu/drm/amd/pm/swsmu/smu11/ |
| A D | arcturus_ppt.c | 472 PPTable_t *pptable = table_context->driver_pptable; in arcturus_check_fan_support() local 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() 1082 range->hotspot_crit_max = pptable->ThotspotLimit * in arcturus_get_thermal_temperature_range() 1086 range->mem_crit_max = pptable->TmemLimit * in arcturus_get_thermal_temperature_range() 1100 PPTable_t *pptable = table_context->driver_pptable; in arcturus_read_sensor() local 1111 *(uint32_t *)data = pptable->FanMaximumRpm; in arcturus_read_sensor() 1318 PPTable_t *pptable = smu->smu_table.driver_pptable; in arcturus_get_fan_parameters() local 1320 smu->fan_max_rpm = pptable->FanMaximumRpm; in arcturus_get_fan_parameters() 1336 if (!pptable) { in arcturus_get_power_limit() [all …]
|
| A D | navi10_ppt.c | 1236 dpm_desc = &pptable->DpmDescriptor[clk_index]; in navi10_is_support_fine_grained_dpm() 1356 pptable->LclkFreq[i], in navi10_emit_clk_levels() 1558 pptable->LclkFreq[i], in navi10_print_clk_levels() 1913 smu->fan_max_rpm = pptable->FanMaximumRpm; in navi10_get_fan_parameters() 2241 *(uint32_t *)data = pptable->FanMaximumRpm; in navi10_read_sensor() 2345 range->max = pptable->TedgeLimit * in navi10_get_thermal_temperature_range() 2353 range->mem_crit_max = pptable->TmemLimit * in navi10_get_thermal_temperature_range() 2400 if (!pptable) { in navi10_get_power_limit() 2457 if (pptable->PcieGenSpeed[i] > pcie_gen_cap || in navi10_update_pcie_parameters() 2458 pptable->PcieLaneCount[i] > pcie_width_cap) { in navi10_update_pcie_parameters() [all …]
|
| /drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
| A D | vegam_smumgr.c | 335 (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 …]
|
| A 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 …]
|
| A 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 …]
|
| A 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() 1148 (struct phm_ppt_v1_information *)(hwmgr->pptable); in tonga_populate_mvdd_value() 1583 (struct phm_ppt_v1_information *)(hwmgr->pptable); in tonga_populate_clock_stretcher_data_table() 1833 (struct phm_ppt_v1_information *)(hwmgr->pptable); in tonga_populate_bapm_parameters_in_dpm_table() 1894 (struct phm_ppt_v1_information *)(hwmgr->pptable); in tonga_populate_tdc_limit() 1978 (struct phm_ppt_v1_information *)(hwmgr->pptable); in tonga_populate_bapm_vddc_base_leakage_sidd() 2228 (struct phm_ppt_v1_information *)(hwmgr->pptable); in tonga_init_smc_table() 2681 (struct phm_ppt_v1_information *)(hwmgr->pptable); in tonga_update_uvd_smc_table() [all …]
|
| /drivers/gpu/drm/amd/pm/swsmu/ |
| A D | smu_cmn.c | 1014 void *pptable = smu->smu_table.driver_pptable; in smu_cmn_write_pptable() local 1019 pptable, in smu_cmn_write_pptable() 1055 void *pptable = smu->smu_table.combo_pptable; in smu_cmn_get_combo_pptable() local 1060 pptable, in smu_cmn_get_combo_pptable()
|