Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/powerplay/smumgr/
Dfiji_smumgr.c476 table_info->cac_dtp_table->usPowerTuneDataSetID <= POWERTUNE_DEFAULT_SET_MAX && in fiji_initialize_power_tune_defaults()
477 table_info->cac_dtp_table->usPowerTuneDataSetID) in fiji_initialize_power_tune_defaults()
480 [table_info->cac_dtp_table->usPowerTuneDataSetID - 1]; in fiji_initialize_power_tune_defaults()
496 struct phm_cac_tdp_table *cac_dtp_table = table_info->cac_dtp_table; in fiji_populate_bapm_parameters_in_dpm_table() local
505 (uint16_t)(cac_dtp_table->usTDP * 128)); in fiji_populate_bapm_parameters_in_dpm_table()
507 (uint16_t)(cac_dtp_table->usTDP * 128)); in fiji_populate_bapm_parameters_in_dpm_table()
509 PP_ASSERT_WITH_CODE(cac_dtp_table->usTargetOperatingTemp <= 255, in fiji_populate_bapm_parameters_in_dpm_table()
513 dpm_table->GpuTjMax = (uint8_t)(cac_dtp_table->usTargetOperatingTemp); in fiji_populate_bapm_parameters_in_dpm_table()
520 cac_dtp_table->usTargetOperatingTemp * 256); in fiji_populate_bapm_parameters_in_dpm_table()
522 cac_dtp_table->usTemperatureLimitHotspot * 256); in fiji_populate_bapm_parameters_in_dpm_table()
[all …]
Dvegam_smumgr.c437 table_info->cac_dtp_table->usPowerTuneDataSetID <= POWERTUNE_DEFAULT_SET_MAX && in vegam_initialize_power_tune_defaults()
438 table_info->cac_dtp_table->usPowerTuneDataSetID) in vegam_initialize_power_tune_defaults()
441 [table_info->cac_dtp_table->usPowerTuneDataSetID - 1]; in vegam_initialize_power_tune_defaults()
1450 struct phm_cac_tdp_table *cac_dtp_table = table_info->cac_dtp_table; in vegam_populate_bapm_parameters_in_dpm_table() local
1457 table->DefaultTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); in vegam_populate_bapm_parameters_in_dpm_table()
1458 table->TargetTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); in vegam_populate_bapm_parameters_in_dpm_table()
1460 PP_ASSERT_WITH_CODE(cac_dtp_table->usTargetOperatingTemp <= 255, in vegam_populate_bapm_parameters_in_dpm_table()
1465 cac_dtp_table->usTargetOperatingTemp * 256); in vegam_populate_bapm_parameters_in_dpm_table()
1467 cac_dtp_table->usTemperatureLimitHotspot * 256); in vegam_populate_bapm_parameters_in_dpm_table()
1503 stretch_amount = (uint8_t)table_info->cac_dtp_table->usClockStretchAmount; in vegam_populate_clock_stretcher_data_table()
[all …]
Dpolaris10_smumgr.c432 struct phm_cac_tdp_table *cac_dtp_table = table_info->cac_dtp_table; in polaris10_populate_bapm_parameters_in_dpm_table() local
439 table->DefaultTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); in polaris10_populate_bapm_parameters_in_dpm_table()
440 table->TargetTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); in polaris10_populate_bapm_parameters_in_dpm_table()
442 PP_ASSERT_WITH_CODE(cac_dtp_table->usTargetOperatingTemp <= 255, in polaris10_populate_bapm_parameters_in_dpm_table()
447 cac_dtp_table->usTargetOperatingTemp * 256); in polaris10_populate_bapm_parameters_in_dpm_table()
449 cac_dtp_table->usTemperatureLimitHotspot * 256); in polaris10_populate_bapm_parameters_in_dpm_table()
493 tdc_limit = (uint16_t)(table_info->cac_dtp_table->usTDC * 128); in polaris10_populate_tdc_limit()
573 struct phm_cac_tdp_table *cac_table = table_info->cac_dtp_table; in polaris10_populate_bapm_vddc_base_leakage_sidd()
1522 stretch_amount = (uint8_t)table_info->cac_dtp_table->usClockStretchAmount; in polaris10_populate_clock_stretcher_data_table()
1578 …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.c530 tdc_limit = (uint16_t)(hwmgr->dyn_state.cac_dtp_table->usTDC * 256); in ci_populate_tdc_limit()
658 struct phm_cac_tdp_table *cac_table = hwmgr->dyn_state.cac_dtp_table; in ci_populate_bapm_vddc_base_leakage_sidd()
719 struct phm_cac_tdp_table *cac_dtp_table = hwmgr->dyn_state.cac_dtp_table; in ci_populate_bapm_parameters_in_dpm_table() local
724 dpm_table->DefaultTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 256)); in ci_populate_bapm_parameters_in_dpm_table()
725 dpm_table->TargetTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usConfigurableTDP * 256)); in ci_populate_bapm_parameters_in_dpm_table()
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/
Dprocess_pptables_v1_0.c602 hwmgr->dyn_state.cac_dtp_table = kzalloc(table_size, GFP_KERNEL); in get_cac_tdp_table()
604 if (NULL == hwmgr->dyn_state.cac_dtp_table) { in get_cac_tdp_table()
806 &pp_table_information->cac_dtp_table, pPowerTuneTable); in init_clock_voltage_dependency()
1135 kfree(pp_table_information->cac_dtp_table); in pp_tables_v1_0_uninitialize()
1136 pp_table_information->cac_dtp_table = NULL; in pp_tables_v1_0_uninitialize()
1138 kfree(hwmgr->dyn_state.cac_dtp_table); in pp_tables_v1_0_uninitialize()
1139 hwmgr->dyn_state.cac_dtp_table = NULL; in pp_tables_v1_0_uninitialize()
Dsmu7_hwmgr.c1665 && (table_info->cac_dtp_table->usClockStretchAmount != 0)) in smu7_init_dpm_defaults()
2183 if (table_info->cac_dtp_table->usDefaultTargetOperatingTemp != 0 && in smu7_thermal_parameter_init()
2200 …table_info->cac_dtp_table->usDefaultTargetOperatingTemp = (table_info->cac_dtp_table->usDefaultTar… in smu7_thermal_parameter_init()
2201 (table_info->cac_dtp_table->usDefaultTargetOperatingTemp - 50) : 0; in smu7_thermal_parameter_init()
2203 …table_info->cac_dtp_table->usOperatingTempMaxLimit = table_info->cac_dtp_table->usDefaultTargetOpe… in smu7_thermal_parameter_init()
2204 table_info->cac_dtp_table->usOperatingTempStep = 1; in smu7_thermal_parameter_init()
2205 table_info->cac_dtp_table->usOperatingTempHyst = 1; in smu7_thermal_parameter_init()
2213 hwmgr->dyn_state.cac_dtp_table->usOperatingTempMinLimit = in smu7_thermal_parameter_init()
2214 table_info->cac_dtp_table->usOperatingTempMinLimit; in smu7_thermal_parameter_init()
2216 hwmgr->dyn_state.cac_dtp_table->usOperatingTempMaxLimit = in smu7_thermal_parameter_init()
[all …]
Dprocesspptables.c1285 result = get_cac_tdp_table(hwmgr, &hwmgr->dyn_state.cac_dtp_table, in init_clock_voltage_dependency()
1288 hwmgr->dyn_state.cac_dtp_table->usDefaultTargetOperatingTemp = in init_clock_voltage_dependency()
1295 &hwmgr->dyn_state.cac_dtp_table, in init_clock_voltage_dependency()
1686 kfree(hwmgr->dyn_state.cac_dtp_table); in pp_tables_uninitialize()
1687 hwmgr->dyn_state.cac_dtp_table = NULL; in pp_tables_uninitialize()
Dvega10_processpptables.c1263 kfree(pp_table_info->cac_dtp_table); in vega10_pp_tables_uninitialize()
1264 pp_table_info->cac_dtp_table = NULL; in vega10_pp_tables_uninitialize()
1266 kfree(hwmgr->dyn_state.cac_dtp_table); in vega10_pp_tables_uninitialize()
1267 hwmgr->dyn_state.cac_dtp_table = NULL; in vega10_pp_tables_uninitialize()
Dsmu7_powertune.c1120 cac_table = table_info->cac_dtp_table; in smu7_enable_power_containment()
1122 cac_table = hwmgr->dyn_state.cac_dtp_table; in smu7_enable_power_containment()
1205 cac_table = table_info->cac_dtp_table; in smu7_power_control_set_level()
1207 cac_table = hwmgr->dyn_state.cac_dtp_table; in smu7_power_control_set_level()
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/inc/
Dhwmgr.h535 struct phm_cac_tdp_table *cac_dtp_table; member
572 struct phm_cac_tdp_table *cac_dtp_table; member
647 struct phm_cac_tdp_table *cac_dtp_table; member