Home
last modified time | relevance | path

Searched refs:cac_dtp_table (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dfiji_smumgr.c474 table_info->cac_dtp_table->usPowerTuneDataSetID <= POWERTUNE_DEFAULT_SET_MAX && in fiji_initialize_power_tune_defaults()
475 table_info->cac_dtp_table->usPowerTuneDataSetID) in fiji_initialize_power_tune_defaults()
478 [table_info->cac_dtp_table->usPowerTuneDataSetID - 1]; in fiji_initialize_power_tune_defaults()
494 struct phm_cac_tdp_table *cac_dtp_table = table_info->cac_dtp_table; in fiji_populate_bapm_parameters_in_dpm_table() local
503 (uint16_t)(cac_dtp_table->usTDP * 128)); in fiji_populate_bapm_parameters_in_dpm_table()
505 (uint16_t)(cac_dtp_table->usTDP * 128)); in fiji_populate_bapm_parameters_in_dpm_table()
507 PP_ASSERT_WITH_CODE(cac_dtp_table->usTargetOperatingTemp <= 255, in fiji_populate_bapm_parameters_in_dpm_table()
511 dpm_table->GpuTjMax = (uint8_t)(cac_dtp_table->usTargetOperatingTemp); in fiji_populate_bapm_parameters_in_dpm_table()
518 cac_dtp_table->usTargetOperatingTemp * 256); in fiji_populate_bapm_parameters_in_dpm_table()
520 cac_dtp_table->usTemperatureLimitHotspot * 256); in fiji_populate_bapm_parameters_in_dpm_table()
[all …]
Dvegam_smumgr.c438 table_info->cac_dtp_table->usPowerTuneDataSetID <= POWERTUNE_DEFAULT_SET_MAX && in vegam_initialize_power_tune_defaults()
439 table_info->cac_dtp_table->usPowerTuneDataSetID) in vegam_initialize_power_tune_defaults()
442 [table_info->cac_dtp_table->usPowerTuneDataSetID - 1]; in vegam_initialize_power_tune_defaults()
1446 struct phm_cac_tdp_table *cac_dtp_table = table_info->cac_dtp_table; in vegam_populate_bapm_parameters_in_dpm_table() local
1453 table->DefaultTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); in vegam_populate_bapm_parameters_in_dpm_table()
1454 table->TargetTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); in vegam_populate_bapm_parameters_in_dpm_table()
1456 PP_ASSERT_WITH_CODE(cac_dtp_table->usTargetOperatingTemp <= 255, in vegam_populate_bapm_parameters_in_dpm_table()
1461 cac_dtp_table->usTargetOperatingTemp * 256); in vegam_populate_bapm_parameters_in_dpm_table()
1463 cac_dtp_table->usTemperatureLimitHotspot * 256); in vegam_populate_bapm_parameters_in_dpm_table()
1498 stretch_amount = (uint8_t)table_info->cac_dtp_table->usClockStretchAmount; in vegam_populate_clock_stretcher_data_table()
[all …]
Dpolaris10_smumgr.c435 struct phm_cac_tdp_table *cac_dtp_table = table_info->cac_dtp_table; in polaris10_populate_bapm_parameters_in_dpm_table() local
442 table->DefaultTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); in polaris10_populate_bapm_parameters_in_dpm_table()
443 table->TargetTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); in polaris10_populate_bapm_parameters_in_dpm_table()
445 PP_ASSERT_WITH_CODE(cac_dtp_table->usTargetOperatingTemp <= 255, in polaris10_populate_bapm_parameters_in_dpm_table()
450 cac_dtp_table->usTargetOperatingTemp * 256); in polaris10_populate_bapm_parameters_in_dpm_table()
452 cac_dtp_table->usTemperatureLimitHotspot * 256); in polaris10_populate_bapm_parameters_in_dpm_table()
511 tdc_limit = (uint16_t)(table_info->cac_dtp_table->usTDC * 128); in polaris10_populate_tdc_limit()
591 struct phm_cac_tdp_table *cac_table = table_info->cac_dtp_table; in polaris10_populate_bapm_vddc_base_leakage_sidd()
1661 stretch_amount = (uint8_t)table_info->cac_dtp_table->usClockStretchAmount; in polaris10_populate_clock_stretcher_data_table()
1693 …a->smc_state_table.LdoRefSel = (table_info->cac_dtp_table->ucCKS_LDO_REFSEL != 0) ? table_info->ca… in polaris10_populate_clock_stretcher_data_table()
[all …]
Dtonga_smumgr.c1589 stretch_amount = (uint8_t)table_info->cac_dtp_table->usClockStretchAmount; in tonga_populate_clock_stretcher_data_table()
1834 struct phm_cac_tdp_table *cac_dtp_table = table_info->cac_dtp_table; in tonga_populate_bapm_parameters_in_dpm_table() local
1839 (uint16_t)(cac_dtp_table->usTDP * 256)); in tonga_populate_bapm_parameters_in_dpm_table()
1841 (uint16_t)(cac_dtp_table->usConfigurableTDP * 256)); in tonga_populate_bapm_parameters_in_dpm_table()
1843 PP_ASSERT_WITH_CODE(cac_dtp_table->usTargetOperatingTemp <= 255, in tonga_populate_bapm_parameters_in_dpm_table()
1847 dpm_table->GpuTjMax = (uint8_t)(cac_dtp_table->usTargetOperatingTemp); in tonga_populate_bapm_parameters_in_dpm_table()
1899 tdc_limit = (uint16_t)(table_info->cac_dtp_table->usTDC * 256); in tonga_populate_tdc_limit()
1981 struct phm_cac_tdp_table *cac_table = table_info->cac_dtp_table; in tonga_populate_bapm_vddc_base_leakage_sidd()
2211 table_info->cac_dtp_table->usPowerTuneDataSetID <= POWERTUNE_DEFAULT_SET_MAX && in tonga_initialize_power_tune_defaults()
2212 table_info->cac_dtp_table->usPowerTuneDataSetID) in tonga_initialize_power_tune_defaults()
[all …]
Diceland_smumgr.c325 tdc_limit = (uint16_t)(hwmgr->dyn_state.cac_dtp_table->usTDC * 256); in iceland_populate_tdc_limit()
376 struct phm_cac_tdp_table *cac_table = hwmgr->dyn_state.cac_dtp_table; in iceland_populate_bapm_vddc_base_leakage_sidd()
1855 struct phm_cac_tdp_table *cac_dtp_table = hwmgr->dyn_state.cac_dtp_table; in iceland_populate_bapm_parameters_in_dpm_table() local
1866 dpm_table->DefaultTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 256)); in iceland_populate_bapm_parameters_in_dpm_table()
1867 dpm_table->TargetTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usConfigurableTDP * 256)); in iceland_populate_bapm_parameters_in_dpm_table()
Dci_smumgr.c532 tdc_limit = (uint16_t)(hwmgr->dyn_state.cac_dtp_table->usTDC * 256); in ci_populate_tdc_limit()
660 struct phm_cac_tdp_table *cac_table = hwmgr->dyn_state.cac_dtp_table; in ci_populate_bapm_vddc_base_leakage_sidd()
721 struct phm_cac_tdp_table *cac_dtp_table = hwmgr->dyn_state.cac_dtp_table; in ci_populate_bapm_parameters_in_dpm_table() local
726 dpm_table->DefaultTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 256)); in ci_populate_bapm_parameters_in_dpm_table()
727 dpm_table->TargetTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usConfigurableTDP * 256)); in ci_populate_bapm_parameters_in_dpm_table()
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dprocess_pptables_v1_0.c582 hwmgr->dyn_state.cac_dtp_table = kzalloc(table_size, GFP_KERNEL); in get_cac_tdp_table()
584 if (NULL == hwmgr->dyn_state.cac_dtp_table) { in get_cac_tdp_table()
830 &pp_table_information->cac_dtp_table, pPowerTuneTable); in init_clock_voltage_dependency()
1214 kfree(pp_table_information->cac_dtp_table); in pp_tables_v1_0_uninitialize()
1215 pp_table_information->cac_dtp_table = NULL; in pp_tables_v1_0_uninitialize()
1217 kfree(hwmgr->dyn_state.cac_dtp_table); in pp_tables_v1_0_uninitialize()
1218 hwmgr->dyn_state.cac_dtp_table = NULL; in pp_tables_v1_0_uninitialize()
Dsmu7_hwmgr.c1938 && (table_info->cac_dtp_table->usClockStretchAmount != 0)) in smu7_init_dpm_defaults()
2570 if (table_info->cac_dtp_table->usDefaultTargetOperatingTemp != 0 && in smu7_thermal_parameter_init()
2587 …table_info->cac_dtp_table->usDefaultTargetOperatingTemp = (table_info->cac_dtp_table->usDefaultTar… in smu7_thermal_parameter_init()
2588 (table_info->cac_dtp_table->usDefaultTargetOperatingTemp - 50) : 0; in smu7_thermal_parameter_init()
2590 …table_info->cac_dtp_table->usOperatingTempMaxLimit = table_info->cac_dtp_table->usDefaultTargetOpe… in smu7_thermal_parameter_init()
2591 table_info->cac_dtp_table->usOperatingTempStep = 1; in smu7_thermal_parameter_init()
2592 table_info->cac_dtp_table->usOperatingTempHyst = 1; in smu7_thermal_parameter_init()
2600 hwmgr->dyn_state.cac_dtp_table->usOperatingTempMinLimit = in smu7_thermal_parameter_init()
2601 table_info->cac_dtp_table->usOperatingTempMinLimit; in smu7_thermal_parameter_init()
2603 hwmgr->dyn_state.cac_dtp_table->usOperatingTempMaxLimit = in smu7_thermal_parameter_init()
[all …]
Dprocesspptables.c1396 result = get_cac_tdp_table(hwmgr, &hwmgr->dyn_state.cac_dtp_table, in init_clock_voltage_dependency()
1399 hwmgr->dyn_state.cac_dtp_table->usDefaultTargetOperatingTemp = in init_clock_voltage_dependency()
1406 &hwmgr->dyn_state.cac_dtp_table, in init_clock_voltage_dependency()
1790 kfree(hwmgr->dyn_state.cac_dtp_table); in pp_tables_uninitialize()
1791 hwmgr->dyn_state.cac_dtp_table = NULL; in pp_tables_uninitialize()
Dvega10_processpptables.c1228 kfree(pp_table_info->cac_dtp_table); in vega10_pp_tables_uninitialize()
1229 pp_table_info->cac_dtp_table = NULL; in vega10_pp_tables_uninitialize()
1231 kfree(hwmgr->dyn_state.cac_dtp_table); in vega10_pp_tables_uninitialize()
1232 hwmgr->dyn_state.cac_dtp_table = NULL; in vega10_pp_tables_uninitialize()
Dsmu7_powertune.c1158 cac_table = table_info->cac_dtp_table; in smu7_enable_power_containment()
1160 cac_table = hwmgr->dyn_state.cac_dtp_table; in smu7_enable_power_containment()
1248 cac_table = table_info->cac_dtp_table; in smu7_power_control_set_level()
1250 cac_table = hwmgr->dyn_state.cac_dtp_table; in smu7_power_control_set_level()
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/inc/
Dhwmgr.h546 struct phm_cac_tdp_table *cac_dtp_table; member
583 struct phm_cac_tdp_table *cac_dtp_table; member
657 struct phm_cac_tdp_table *cac_dtp_table; member