Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dvega10_hwmgr.c308 struct vega10_odn_dpm_table *odn_table = &(data->odn_dpm_table); in vega10_odn_initial_default_setting() local
323 od_lookup_table = &odn_table->vddc_lookup_table; in vega10_odn_initial_default_setting()
334 od_table[0] = (struct phm_ppt_v1_clock_voltage_dependency_table *)&odn_table->vdd_dep_on_sclk; in vega10_odn_initial_default_setting()
335 od_table[1] = (struct phm_ppt_v1_clock_voltage_dependency_table *)&odn_table->vdd_dep_on_mclk; in vega10_odn_initial_default_setting()
336 od_table[2] = (struct phm_ppt_v1_clock_voltage_dependency_table *)&odn_table->vdd_dep_on_socclk; in vega10_odn_initial_default_setting()
341 if (odn_table->max_vddc == 0 || odn_table->max_vddc > 2000) in vega10_odn_initial_default_setting()
342 odn_table->max_vddc = dep_table[0]->entries[dep_table[0]->count - 1].vddc; in vega10_odn_initial_default_setting()
343 if (odn_table->min_vddc == 0 || odn_table->min_vddc > 2000) in vega10_odn_initial_default_setting()
344 odn_table->min_vddc = dep_table[0]->entries[0].vddc; in vega10_odn_initial_default_setting()
350 od_table[2]->entries[i].vddc = odn_table->max_vddc > od_table[2]->entries[i].vddc ? in vega10_odn_initial_default_setting()
[all …]
H A Dsmu7_hwmgr.c935 struct smu7_odn_dpm_table *odn_table = &(data->odn_dpm_table); in smu7_odn_initial_default_setting() local
950 odn_table->odn_core_clock_dpm_levels.num_of_pl = in smu7_odn_initial_default_setting()
952 entries = odn_table->odn_core_clock_dpm_levels.entries; in smu7_odn_initial_default_setting()
960 (struct phm_ppt_v1_clock_voltage_dependency_table *)&(odn_table->vdd_dependency_on_sclk)); in smu7_odn_initial_default_setting()
962 odn_table->odn_memory_clock_dpm_levels.num_of_pl = in smu7_odn_initial_default_setting()
964 entries = odn_table->odn_memory_clock_dpm_levels.entries; in smu7_odn_initial_default_setting()
972 (struct phm_ppt_v1_clock_voltage_dependency_table *)&(odn_table->vdd_dependency_on_mclk)); in smu7_odn_initial_default_setting()
1008 struct smu7_odn_dpm_table *odn_table = &(data->odn_dpm_table); in smu7_check_dpm_table_updated() local
1020 if (odn_table->odn_core_clock_dpm_levels.entries[i].clock != in smu7_check_dpm_table_updated()
1028 if (odn_table->odn_memory_clock_dpm_levels.entries[i].clock != in smu7_check_dpm_table_updated()
[all …]