Home
last modified time | relevance | path

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

/openbsd/sys/dev/pci/drm/amd/pm/powerplay/smumgr/
H A Dfiji_smumgr.c475 table_info->cac_dtp_table->usPowerTuneDataSetID) 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()
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()
522 cac_dtp_table->usTemperatureLimitLiquid1 * 256); in fiji_populate_bapm_parameters_in_dpm_table()
524 cac_dtp_table->usTemperatureLimitLiquid2 * 256); in fiji_populate_bapm_parameters_in_dpm_table()
526 cac_dtp_table->usTemperatureLimitVrVddc * 256); in fiji_populate_bapm_parameters_in_dpm_table()
528 cac_dtp_table->usTemperatureLimitVrMvdd * 256); in fiji_populate_bapm_parameters_in_dpm_table()
[all …]
H A Dvegam_smumgr.c439 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
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()
1527 (table_info->cac_dtp_table->ucCKS_LDO_REFSEL != 0) ? in vegam_populate_clock_stretcher_data_table()
1528 table_info->cac_dtp_table->ucCKS_LDO_REFSEL : 5; in vegam_populate_clock_stretcher_data_table()
1751 tdc_limit = (uint16_t)(table_info->cac_dtp_table->usTDC * 128); in vegam_populate_tdc_limit()
2023 table_info->cac_dtp_table->usTargetOperatingTemp * in vegam_init_smc_table()
[all …]
H A 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
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()
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()
1904 table_info->cac_dtp_table->usPowerTuneDataSetID) in polaris10_initialize_power_tune_defaults()
1907 [table_info->cac_dtp_table->usPowerTuneDataSetID - 1]; in polaris10_initialize_power_tune_defaults()
2020 table_info->cac_dtp_table->usTargetOperatingTemp * in polaris10_init_smc_table()
[all …]
H A Dtonga_smumgr.c1834 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()
2212 table_info->cac_dtp_table->usPowerTuneDataSetID) in tonga_initialize_power_tune_defaults()
2215 [table_info->cac_dtp_table->usPowerTuneDataSetID - 1]; in tonga_initialize_power_tune_defaults()
2326 table_info->cac_dtp_table->usTargetOperatingTemp * in tonga_init_smc_table()
[all …]
H A 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()
H A 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()
/openbsd/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/
H A 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()
1216 kfree(pp_table_information->cac_dtp_table); in pp_tables_v1_0_uninitialize()
1217 pp_table_information->cac_dtp_table = NULL; in pp_tables_v1_0_uninitialize()
1219 kfree(hwmgr->dyn_state.cac_dtp_table); in pp_tables_v1_0_uninitialize()
1220 hwmgr->dyn_state.cac_dtp_table = NULL; in pp_tables_v1_0_uninitialize()
H A Dsmu7_hwmgr.c1938 && (table_info->cac_dtp_table->usClockStretchAmount != 0)) in smu7_init_dpm_defaults()
2587 …table_info->cac_dtp_table->usDefaultTargetOperatingTemp = (table_info->cac_dtp_table->usDefaultTar… 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()
2603 hwmgr->dyn_state.cac_dtp_table->usOperatingTempMaxLimit = in smu7_thermal_parameter_init()
2609 hwmgr->dyn_state.cac_dtp_table->usOperatingTempStep = in smu7_thermal_parameter_init()
2610 table_info->cac_dtp_table->usOperatingTempStep; in smu7_thermal_parameter_init()
2612 hwmgr->dyn_state.cac_dtp_table->usTargetOperatingTemp = in smu7_thermal_parameter_init()
[all …]
H A Dprocesspptables.c1398 result = get_cac_tdp_table(hwmgr, &hwmgr->dyn_state.cac_dtp_table, in init_clock_voltage_dependency()
1401 hwmgr->dyn_state.cac_dtp_table->usDefaultTargetOperatingTemp = in init_clock_voltage_dependency()
1408 &hwmgr->dyn_state.cac_dtp_table, in init_clock_voltage_dependency()
1792 kfree(hwmgr->dyn_state.cac_dtp_table); in pp_tables_uninitialize()
1793 hwmgr->dyn_state.cac_dtp_table = NULL; in pp_tables_uninitialize()
H A 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()
H A 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()
/openbsd/sys/dev/pci/drm/amd/pm/powerplay/inc/
H A 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