Home
last modified time | relevance | path

Searched refs:odn_table (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega10_hwmgr.c309 struct vega10_odn_dpm_table *odn_table = &(data->odn_dpm_table); in vega10_odn_initial_default_setting() local
324 od_lookup_table = &odn_table->vddc_lookup_table; in vega10_odn_initial_default_setting()
335 od_table[0] = (struct phm_ppt_v1_clock_voltage_dependency_table *)&odn_table->vdd_dep_on_sclk; in vega10_odn_initial_default_setting()
336 od_table[1] = (struct phm_ppt_v1_clock_voltage_dependency_table *)&odn_table->vdd_dep_on_mclk; in vega10_odn_initial_default_setting()
337 od_table[2] = (struct phm_ppt_v1_clock_voltage_dependency_table *)&odn_table->vdd_dep_on_socclk; in vega10_odn_initial_default_setting()
342 if (odn_table->max_vddc == 0 || odn_table->max_vddc > 2000) in vega10_odn_initial_default_setting()
343 odn_table->max_vddc = dep_table[0]->entries[dep_table[0]->count - 1].vddc; in vega10_odn_initial_default_setting()
344 if (odn_table->min_vddc == 0 || odn_table->min_vddc > 2000) in vega10_odn_initial_default_setting()
345 odn_table->min_vddc = dep_table[0]->entries[0].vddc; in vega10_odn_initial_default_setting()
351 od_table[2]->entries[i].vddc = odn_table->max_vddc > od_table[2]->entries[i].vddc ? in vega10_odn_initial_default_setting()
[all …]
Dsmu7_hwmgr.c936 struct smu7_odn_dpm_table *odn_table = &(data->odn_dpm_table); in smu7_odn_initial_default_setting() local
951 odn_table->odn_core_clock_dpm_levels.num_of_pl = in smu7_odn_initial_default_setting()
953 entries = odn_table->odn_core_clock_dpm_levels.entries; in smu7_odn_initial_default_setting()
961 (struct phm_ppt_v1_clock_voltage_dependency_table *)&(odn_table->vdd_dependency_on_sclk)); in smu7_odn_initial_default_setting()
963 odn_table->odn_memory_clock_dpm_levels.num_of_pl = in smu7_odn_initial_default_setting()
965 entries = odn_table->odn_memory_clock_dpm_levels.entries; in smu7_odn_initial_default_setting()
973 (struct phm_ppt_v1_clock_voltage_dependency_table *)&(odn_table->vdd_dependency_on_mclk)); in smu7_odn_initial_default_setting()
1009 struct smu7_odn_dpm_table *odn_table = &(data->odn_dpm_table); in smu7_check_dpm_table_updated() local
1021 if (odn_table->odn_core_clock_dpm_levels.entries[i].clock != in smu7_check_dpm_table_updated()
1029 if (odn_table->odn_memory_clock_dpm_levels.entries[i].clock != in smu7_check_dpm_table_updated()
[all …]