| /linux-6.15/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
| H A D | smu_v13_0_12_ppt.c | 214 struct PPTable_t *pptable = in smu_v13_0_12_setup_driver_pptable() local 219 if (!pptable->Init) { in smu_v13_0_12_setup_driver_pptable() 231 pptable->MaxSocketPowerLimit = in smu_v13_0_12_setup_driver_pptable() 233 pptable->MaxGfxclkFrequency = in smu_v13_0_12_setup_driver_pptable() 235 pptable->MinGfxclkFrequency = in smu_v13_0_12_setup_driver_pptable() 239 pptable->FclkFrequencyTable[i] = in smu_v13_0_12_setup_driver_pptable() 241 pptable->UclkFrequencyTable[i] = in smu_v13_0_12_setup_driver_pptable() 245 pptable->VclkFrequencyTable[i] = in smu_v13_0_12_setup_driver_pptable() 247 pptable->DclkFrequencyTable[i] = in smu_v13_0_12_setup_driver_pptable() 249 pptable->LclkFrequencyTable[i] = in smu_v13_0_12_setup_driver_pptable() [all …]
|
| H A D | smu_v13_0_6_ppt.c | 756 struct PPTable_t *pptable = in smu_v13_0_6_setup_driver_pptable() local 766 if (!pptable->Init) { in smu_v13_0_6_setup_driver_pptable() 815 pptable->Init = true; in smu_v13_0_6_setup_driver_pptable() 826 struct PPTable_t *pptable = in smu_v13_0_6_get_dpm_ultimate_freq() local 835 if (pptable->Init) in smu_v13_0_6_get_dpm_ultimate_freq() 840 if (pptable->Init) in smu_v13_0_6_get_dpm_ultimate_freq() 844 if (pptable->Init) in smu_v13_0_6_get_dpm_ultimate_freq() 848 if (pptable->Init) in smu_v13_0_6_get_dpm_ultimate_freq() 852 if (pptable->Init) in smu_v13_0_6_get_dpm_ultimate_freq() 856 if (pptable->Init) in smu_v13_0_6_get_dpm_ultimate_freq() [all …]
|
| H A D | smu_v13_0_0_ppt.c | 352 PPTable_t *pptable = smu->smu_table.driver_pptable; in smu_v13_0_0_check_powerplay_table() local 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() 1083 &pptable->SkuTable.OverDriveLimitsBasicMax; in smu_v13_0_0_is_od_feature_supported() 1095 &pptable->SkuTable.OverDriveLimitsBasicMax; in smu_v13_0_0_get_od_setting_limits() 1097 &pptable->SkuTable.OverDriveLimitsMin; in smu_v13_0_0_get_od_setting_limits() 2342 pptable->SkuTable.DriverReportedClocks; in smu_v13_0_0_populate_umd_state_clk() 2437 SkuTable_t *skutable = &pptable->SkuTable; in smu_v13_0_0_enable_mgpu_fan_boost() 2462 SkuTable_t *skutable = &pptable->SkuTable; in smu_v13_0_0_get_power_limit() [all …]
|
| H A D | smu_v13_0_7_ppt.c | 1070 PPTable_t *pptable = smu->smu_table.driver_pptable; in smu_v13_0_7_is_od_feature_supported() local 1072 &pptable->SkuTable.OverDriveLimitsBasicMax; in smu_v13_0_7_is_od_feature_supported() 1082 PPTable_t *pptable = smu->smu_table.driver_pptable; in smu_v13_0_7_get_od_setting_limits() local 1084 &pptable->SkuTable.OverDriveLimitsBasicMax; in smu_v13_0_7_get_od_setting_limits() 1086 &pptable->SkuTable.OverDriveLimitsMin; in smu_v13_0_7_get_od_setting_limits() 2085 PPTable_t *pptable = smu->smu_table.driver_pptable; in smu_v13_0_7_get_thermal_temperature_range() local 2326 PPTable_t *pptable = table_context->driver_pptable; in smu_v13_0_7_populate_umd_state_clk() local 2328 pptable->SkuTable.DriverReportedClocks; in smu_v13_0_7_populate_umd_state_clk() 2403 SkuTable_t *skutable = &pptable->SkuTable; in smu_v13_0_7_enable_mgpu_fan_boost() 2428 SkuTable_t *skutable = &pptable->SkuTable; in smu_v13_0_7_get_power_limit() [all …]
|
| H A D | aldebaran_ppt.c | 349 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() 1057 range->mem_crit_max = pptable->TmemLimit * 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() 1223 power_limit = pptable->PptLimit; in aldebaran_get_power_limit() 1233 if (pptable) in aldebaran_get_power_limit() [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| H 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()
|
| H 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 …]
|
| H 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()
|
| H 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 …]
|
| H 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()
|
| H 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 …]
|
| H A D | vega12_thermal.c | 174 (struct phm_ppt_v3_information *)hwmgr->pptable; in vega12_thermal_set_temperature_range()
|
| H 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()
|
| H A D | vega20_thermal.c | 245 (struct phm_ppt_v3_information *)hwmgr->pptable; in vega20_thermal_set_temperature_range()
|
| H 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()
|
| H A D | vega10_thermal.c | 363 (struct phm_ppt_v2_information *)(hwmgr->pptable); in vega10_thermal_set_temperature_range()
|
| H 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()
|
| /linux-6.15/drivers/gpu/drm/amd/pm/swsmu/smu14/ |
| H 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() 995 PPTable_t *pptable = smu->smu_table.driver_pptable; in smu_v14_0_2_is_od_feature_supported() local 997 &pptable->SkuTable.OverDriveLimitsBasicMax; in smu_v14_0_2_is_od_feature_supported() 1007 PPTable_t *pptable = smu->smu_table.driver_pptable; in smu_v14_0_2_get_od_setting_limits() local 1009 &pptable->SkuTable.OverDriveLimitsBasicMax; in smu_v14_0_2_get_od_setting_limits() 1011 &pptable->SkuTable.OverDriveLimitsBasicMin; in smu_v14_0_2_get_od_setting_limits() [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
| H 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 …]
|
| H 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 ((pptable->PcieGenSpeed[i] <= pcie_gen_cap) ? (pptable->PcieGenSpeed[i] << 8) : in navi10_update_pcie_parameters() 2459 pptable->PcieLaneCount[i] : pcie_width_cap); in navi10_update_pcie_parameters() [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
| H 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 …]
|
| H 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 …]
|
| H 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 …]
|
| H 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 …]
|
| /linux-6.15/drivers/gpu/drm/amd/pm/swsmu/ |
| H A D | smu_cmn.c | 1004 void *pptable = smu->smu_table.driver_pptable; in smu_cmn_write_pptable() local 1009 pptable, in smu_cmn_write_pptable() 1045 void *pptable = smu->smu_table.combo_pptable; in smu_cmn_get_combo_pptable() local 1050 pptable, in smu_cmn_get_combo_pptable()
|