Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu_helper.c249 phm_ppt_v1_clock_voltage_dependency_table *dep_table) in phm_get_svi2_mvdd_voltage_table() argument
254 PP_ASSERT_WITH_CODE((0 != dep_table->count), in phm_get_svi2_mvdd_voltage_table()
262 vol_table->count = dep_table->count; in phm_get_svi2_mvdd_voltage_table()
264 for (i = 0; i < dep_table->count; i++) { in phm_get_svi2_mvdd_voltage_table()
265 vol_table->entries[i].value = dep_table->entries[i].mvdd; in phm_get_svi2_mvdd_voltage_table()
277 phm_ppt_v1_clock_voltage_dependency_table *dep_table) in phm_get_svi2_vddci_voltage_table() argument
282 PP_ASSERT_WITH_CODE((0 != dep_table->count), in phm_get_svi2_vddci_voltage_table()
290 vol_table->count = dep_table->count; in phm_get_svi2_vddci_voltage_table()
292 for (i = 0; i < dep_table->count; i++) { in phm_get_svi2_vddci_voltage_table()
698 dep_table->count = allowed_dep_table->count; in smu_get_voltage_dependency_table_ppt_v1()
[all …]
H A Dvega10_hwmgr.c342 odn_table->max_vddc = dep_table[0]->entries[dep_table[0]->count - 1].vddc; in vega10_odn_initial_default_setting()
1078 vol_table->count = dep_table->count; in vega10_get_mvdd_voltage_table()
1250 dep_table->entries[i].clk) { in vega10_setup_default_single_dpm_table()
1252 dep_table->entries[i].clk; in vega10_setup_default_single_dpm_table()
2131 if (dep_table->entries[i].vclk == in vega10_populate_smc_uvd_levels()
2133 dep_table->entries[i].dclk == in vega10_populate_smc_uvd_levels()
2136 dep_table->entries[i].vddcInd; in vega10_populate_smc_uvd_levels()
4410 if (dep_table->entries[i].clk) { in vega10_get_sclks()
4431 if (dep_table->entries[i].clk) { in vega10_get_memclocks()
4436 dep_table->entries[i].clk; in vega10_get_memclocks()
[all …]
H A Dsmu_helper.h76 …struct pp_atomctrl_voltage_table *vol_table, phm_ppt_v1_clock_voltage_dependency_table *dep_table);
77 …struct pp_atomctrl_voltage_table *vol_table, phm_ppt_v1_clock_voltage_dependency_table *dep_table);
132 struct phm_ppt_v1_clock_voltage_dependency_table *dep_table);
H A Dprocesspptables.c383 struct phm_clock_voltage_dependency_table *dep_table; in get_clock_voltage_dependency_table() local
385 dep_table = kzalloc(struct_size(dep_table, entries, table->ucNumEntries), in get_clock_voltage_dependency_table()
387 if (NULL == dep_table) in get_clock_voltage_dependency_table()
390 dep_table->count = (unsigned long)table->ucNumEntries; in get_clock_voltage_dependency_table()
392 for (i = 0; i < dep_table->count; i++) { in get_clock_voltage_dependency_table()
393 dep_table->entries[i].clk = in get_clock_voltage_dependency_table()
396 dep_table->entries[i].v = in get_clock_voltage_dependency_table()
400 *ptable = dep_table; in get_clock_voltage_dependency_table()
H A Dsmu8_hwmgr.c261 struct phm_clock_voltage_dependency_table *dep_table = in smu8_construct_max_power_limits_table() local
264 if (dep_table->count > 0) { in smu8_construct_max_power_limits_table()
265 table->sclk = dep_table->entries[dep_table->count-1].clk; in smu8_construct_max_power_limits_table()
267 (uint16_t)dep_table->entries[dep_table->count-1].v); in smu8_construct_max_power_limits_table()
H A Dsmu7_hwmgr.c1013 struct phm_ppt_v1_clock_voltage_dependency_table *dep_table; in smu7_check_dpm_table_updated() local
1035 dep_table = table_info->vdd_dep_on_mclk; in smu7_check_dpm_table_updated()
1038 for (i = 0; i < dep_table->count; i++) { in smu7_check_dpm_table_updated()
1039 if (dep_table->entries[i].vddc != odn_dep_table->entries[i].vddc) { in smu7_check_dpm_table_updated()
1045 dep_table = table_info->vdd_dep_on_sclk; in smu7_check_dpm_table_updated()
1047 for (i = 0; i < dep_table->count; i++) { in smu7_check_dpm_table_updated()
1048 if (dep_table->entries[i].vddc != odn_dep_table->entries[i].vddc) { in smu7_check_dpm_table_updated()
/openbmc/openbmc/poky/bitbake/lib/bb/ui/
H A Dtaskexp_ncurses.py753 dep_table = {}
760 if task_group not in dep_table:
761 dep_table[task_group] = {}
763 if task not in dep_table[task_group]:
764 dep_table[task_group][task] = {}
776 dep_table[task_group][task][task_dep] = 1
778 for task_group in dep_table:
787 for task in dep_table[task_group]:
790 if 1 == len(dep_table[task_group][task]):
796 for dep_task in dep_table[task_group]:
[all …]
/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dlegacy_dpm.c225 ATOM_PPLIB_Clock_Voltage_Dependency_Table *dep_table; in amdgpu_parse_extended_power_table() local
270 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in amdgpu_parse_extended_power_table()
274 dep_table); in amdgpu_parse_extended_power_table()
279 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in amdgpu_parse_extended_power_table()
283 dep_table); in amdgpu_parse_extended_power_table()
288 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in amdgpu_parse_extended_power_table()
292 dep_table); in amdgpu_parse_extended_power_table()
297 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in amdgpu_parse_extended_power_table()
301 dep_table); in amdgpu_parse_extended_power_table()
618 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in amdgpu_parse_extended_power_table()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dvegam_smumgr.c611 if (dep_table->count == 0) in vegam_get_dependency_volt_by_clk()
614 for (i = 0; i < dep_table->count; i++) { in vegam_get_dependency_volt_by_clk()
616 if (dep_table->entries[i].clk >= clock) { in vegam_get_dependency_volt_by_clk()
617 *voltage |= (dep_table->entries[i].vddc * in vegam_get_dependency_volt_by_clk()
622 else if (dep_table->entries[i].vddci) in vegam_get_dependency_volt_by_clk()
623 *voltage |= (dep_table->entries[i].vddci * in vegam_get_dependency_volt_by_clk()
627 (dep_table->entries[i].vddc - in vegam_get_dependency_volt_by_clk()
635 else if (dep_table->entries[i].mvdd) in vegam_get_dependency_volt_by_clk()
650 else if (dep_table->entries[i - 1].vddci) in vegam_get_dependency_volt_by_clk()
655 (dep_table->entries[i - 1].vddc - in vegam_get_dependency_volt_by_clk()
[all …]
H A Dfiji_smumgr.c363 if (dep_table->count == 0) in fiji_get_dependency_volt_by_clk()
366 for (i = 0; i < dep_table->count; i++) { in fiji_get_dependency_volt_by_clk()
368 if (dep_table->entries[i].clk >= clock) { in fiji_get_dependency_volt_by_clk()
369 *voltage |= (dep_table->entries[i].vddc * in fiji_get_dependency_volt_by_clk()
374 else if (dep_table->entries[i].vddci) in fiji_get_dependency_volt_by_clk()
375 *voltage |= (dep_table->entries[i].vddci * in fiji_get_dependency_volt_by_clk()
379 (dep_table->entries[i].vddc - in fiji_get_dependency_volt_by_clk()
387 else if (dep_table->entries[i].mvdd) in fiji_get_dependency_volt_by_clk()
402 else if (dep_table->entries[i-1].vddci) { in fiji_get_dependency_volt_by_clk()
404 (dep_table->entries[i].vddc - in fiji_get_dependency_volt_by_clk()
[all …]
H A Dpolaris10_smumgr.c364 if (dep_table->count == 0) in polaris10_get_dependency_volt_by_clk()
367 for (i = 0; i < dep_table->count; i++) { in polaris10_get_dependency_volt_by_clk()
369 if (dep_table->entries[i].clk >= clock) { in polaris10_get_dependency_volt_by_clk()
370 *voltage |= (dep_table->entries[i].vddc * in polaris10_get_dependency_volt_by_clk()
375 else if (dep_table->entries[i].vddci) in polaris10_get_dependency_volt_by_clk()
376 *voltage |= (dep_table->entries[i].vddci * in polaris10_get_dependency_volt_by_clk()
380 (dep_table->entries[i].vddc - in polaris10_get_dependency_volt_by_clk()
388 else if (dep_table->entries[i].mvdd) in polaris10_get_dependency_volt_by_clk()
403 else if (dep_table->entries[i-1].vddci) { in polaris10_get_dependency_volt_by_clk()
407 (dep_table->entries[i].vddc - in polaris10_get_dependency_volt_by_clk()
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dr600_dpm.c878 ATOM_PPLIB_Clock_Voltage_Dependency_Table *dep_table; in r600_parse_extended_power_table() local
923 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in r600_parse_extended_power_table()
927 dep_table); in r600_parse_extended_power_table()
932 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in r600_parse_extended_power_table()
936 dep_table); in r600_parse_extended_power_table()
943 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in r600_parse_extended_power_table()
947 dep_table); in r600_parse_extended_power_table()
955 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in r600_parse_extended_power_table()
959 dep_table); in r600_parse_extended_power_table()