Home
last modified time | relevance | path

Searched refs:table_info (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/amd/powerplay/hwmgr/
Dvega10_hwmgr.c175 struct phm_ppt_v2_information *table_info = in vega10_set_features_platform_caps() local
264 if (table_info->tdp_table->usClockStretchAmount && in vega10_set_features_platform_caps()
285 struct phm_ppt_v2_information *table_info = in vega10_odn_initial_default_setting() local
303 vddc_lookup_table = table_info->vddc_lookup_table; in vega10_odn_initial_default_setting()
310 dep_table[0] = table_info->vdd_dep_on_sclk; in vega10_odn_initial_default_setting()
311 dep_table[1] = table_info->vdd_dep_on_mclk; in vega10_odn_initial_default_setting()
312 dep_table[2] = table_info->vdd_dep_on_socclk; in vega10_odn_initial_default_setting()
493 struct phm_ppt_v2_information *table_info = in vega10_get_socclk_for_voltage_evv() local
501 for (entry_id = 0; entry_id < table_info->vdd_dep_on_sclk->count; entry_id++) { in vega10_get_socclk_for_voltage_evv()
502 voltage_id = table_info->vdd_dep_on_socclk->entries[entry_id].vddInd; in vega10_get_socclk_for_voltage_evv()
[all …]
Dsmu7_hwmgr.c251 struct phm_ppt_v1_information *table_info = in smu7_construct_voltage_tables() local
266 table_info->vdd_dep_on_mclk); in smu7_construct_voltage_tables()
286 table_info->vdd_dep_on_mclk); in smu7_construct_voltage_tables()
298 table_info->vddgfx_lookup_table); in smu7_construct_voltage_tables()
317 table_info->vddc_lookup_table); in smu7_construct_voltage_tables()
528 struct phm_ppt_v1_information *table_info = in smu7_setup_default_pcie_table() local
539 if (table_info != NULL) in smu7_setup_default_pcie_table()
540 pcie_table = table_info->pcie_table; in smu7_setup_default_pcie_table()
755 struct phm_ppt_v1_information *table_info = in smu7_setup_dpm_tables_v1() local
762 if (table_info == NULL) in smu7_setup_dpm_tables_v1()
[all …]
Dsmu_helper.c418 struct phm_ppt_v1_information *table_info = in phm_get_sclk_for_voltage_evv() local
424 for (entry_id = 0; entry_id < table_info->vdd_dep_on_sclk->count; entry_id++) { in phm_get_sclk_for_voltage_evv()
425 voltage_id = table_info->vdd_dep_on_sclk->entries[entry_id].vddInd; in phm_get_sclk_for_voltage_evv()
430 if (entry_id >= table_info->vdd_dep_on_sclk->count) { in phm_get_sclk_for_voltage_evv()
435 *sclk = table_info->vdd_dep_on_sclk->entries[entry_id].clk; in phm_get_sclk_for_voltage_evv()
488 struct phm_ppt_v1_information *table_info = in phm_apply_dal_min_voltage_request() local
491 table_info->vddc_dep_on_dal_pwrl; in phm_apply_dal_min_voltage_request()
508 vddc_table = table_info->vdd_dep_on_sclk; in phm_apply_dal_min_voltage_request()
Dvega10_powertune.c1287 struct phm_ppt_v2_information *table_info = in vega10_initialize_power_tune_defaults() local
1289 struct phm_tdp_table *tdp_table = table_info->tdp_table; in vega10_initialize_power_tune_defaults()
1337 struct phm_ppt_v2_information *table_info = in vega10_enable_power_containment() local
1339 struct phm_tdp_table *tdp_table = table_info->tdp_table; in vega10_enable_power_containment()
Dsmu7_powertune.c1112 struct phm_ppt_v1_information *table_info = in smu7_enable_power_containment() local
1120 cac_table = table_info->cac_dtp_table; in smu7_enable_power_containment()
1197 struct phm_ppt_v1_information *table_info = in smu7_power_control_set_level() local
1205 cac_table = table_info->cac_dtp_table; in smu7_power_control_set_level()
Dvega10_processpptables.c743 struct phm_ppt_v2_information *table_info = in get_pcie_table() local
761 pcie_count = table_info->vdd_dep_on_sclk->count; in get_pcie_table()
Dvega12_hwmgr.c1596 struct phm_ppt_v2_information *table_info = in vega12_get_dal_power_level()
1599 &table_info->max_clock_voltage_on_ac; in vega12_get_dal_power_level()
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/smumgr/
Dvegam_smumgr.c336 struct phm_ppt_v1_information *table_info = in vegam_update_uvd_smc_table() local
340 if (table_info->mm_dep_table->count > 0) in vegam_update_uvd_smc_table()
342 (uint8_t) (table_info->mm_dep_table->count - 1); in vegam_update_uvd_smc_table()
368 struct phm_ppt_v1_information *table_info = in vegam_update_vce_smc_table() local
374 (uint8_t) (table_info->mm_dep_table->count - 1); in vegam_update_vce_smc_table()
399 struct phm_ppt_v1_information *table_info = in vegam_update_bif_smc_table() local
401 struct phm_ppt_v1_pcie_table *pcie_table = table_info->pcie_table; in vegam_update_bif_smc_table()
434 struct phm_ppt_v1_information *table_info = in vegam_initialize_power_tune_defaults() local
437 if (table_info && in vegam_initialize_power_tune_defaults()
438 table_info->cac_dtp_table->usPowerTuneDataSetID <= POWERTUNE_DEFAULT_SET_MAX && in vegam_initialize_power_tune_defaults()
[all …]
Dpolaris10_smumgr.c429 struct phm_ppt_v1_information *table_info = in polaris10_populate_bapm_parameters_in_dpm_table() local
431 struct phm_cac_tdp_table *cac_dtp_table = table_info->cac_dtp_table; in polaris10_populate_bapm_parameters_in_dpm_table()
488 struct phm_ppt_v1_information *table_info = in polaris10_populate_tdc_limit() local
492 tdc_limit = (uint16_t)(table_info->cac_dtp_table->usTDC * 128); in polaris10_populate_tdc_limit()
568 struct phm_ppt_v1_information *table_info = in polaris10_populate_bapm_vddc_base_leakage_sidd() local
572 struct phm_cac_tdp_table *cac_table = table_info->cac_dtp_table; in polaris10_populate_bapm_vddc_base_leakage_sidd()
703 struct phm_ppt_v1_information *table_info = in polaris10_populate_cac_table() local
706 table_info->vddc_lookup_table; in polaris10_populate_cac_table()
737 struct phm_ppt_v1_information *table_info = in polaris10_populate_ulv_level() local
743 state->VddcOffset = (uint16_t) table_info->us_ulv_voltage_offset; in polaris10_populate_ulv_level()
[all …]
Dfiji_smumgr.c482 struct phm_ppt_v1_information *table_info = in fiji_initialize_power_tune_defaults() local
485 if (table_info && in fiji_initialize_power_tune_defaults()
486 table_info->cac_dtp_table->usPowerTuneDataSetID <= POWERTUNE_DEFAULT_SET_MAX && in fiji_initialize_power_tune_defaults()
487 table_info->cac_dtp_table->usPowerTuneDataSetID) in fiji_initialize_power_tune_defaults()
490 [table_info->cac_dtp_table->usPowerTuneDataSetID - 1]; in fiji_initialize_power_tune_defaults()
504 struct phm_ppt_v1_information *table_info = in fiji_populate_bapm_parameters_in_dpm_table() local
506 struct phm_cac_tdp_table *cac_dtp_table = table_info->cac_dtp_table; in fiji_populate_bapm_parameters_in_dpm_table()
598 struct phm_ppt_v1_information *table_info = in fiji_populate_tdc_limit() local
605 tdc_limit = (uint16_t)(table_info->cac_dtp_table->usTDC * 128); in fiji_populate_tdc_limit()
684 struct phm_ppt_v1_information *table_info = in fiji_populate_bapm_vddc_base_leakage_sidd() local
[all …]
Dtonga_smumgr.c472 struct phm_ppt_v1_information *table_info = in tonga_populate_ulv_level() local
478 state->VddcOffset = (uint16_t) table_info->us_ulv_voltage_offset; in tonga_populate_ulv_level()
479 state->VddcOffsetVid = (uint8_t)(table_info->us_ulv_voltage_offset * in tonga_populate_ulv_level()
1136 struct phm_ppt_v1_information *table_info = in tonga_populate_mvdd_value() local
1142 for (i = 0; i < table_info->vdd_dep_on_mclk->count; i++) { in tonga_populate_mvdd_value()
1143 if (mclk <= table_info->vdd_dep_on_mclk->entries[i].clk) { in tonga_populate_mvdd_value()
1151 PP_ASSERT_WITH_CODE(i < table_info->vdd_dep_on_mclk->count, in tonga_populate_mvdd_value()
1571 struct phm_ppt_v1_information *table_info = in tonga_populate_clock_stretcher_data_table() local
1574 table_info->vdd_dep_on_sclk; in tonga_populate_clock_stretcher_data_table()
1578 stretch_amount = (uint8_t)table_info->cac_dtp_table->usClockStretchAmount; in tonga_populate_clock_stretcher_data_table()
[all …]