Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/amd/powerplay/hwmgr/
Dsmu_helper.c492 struct phm_ppt_v1_clock_voltage_dependency_table *vddc_table; in phm_apply_dal_min_voltage_request() local
508 vddc_table = table_info->vdd_dep_on_sclk; in phm_apply_dal_min_voltage_request()
509 for (i = 0; i < vddc_table->count; i++) { in phm_apply_dal_min_voltage_request()
510 if (req_vddc <= vddc_table->entries[i].vddc) { in phm_apply_dal_min_voltage_request()
511 req_volt = (((uint32_t)vddc_table->entries[i].vddc) * VOLTAGE_SCALE); in phm_apply_dal_min_voltage_request()
Dsmu8_hwmgr.c443 struct phm_clock_voltage_dependency_table *vddc_table = in smu8_upload_pptable_to_smu() local
465 PP_ASSERT_WITH_CODE((vddc_table->count <= SMU8_MAX_HARDWARE_POWERLEVELS), in smu8_upload_pptable_to_smu()
480 (i < vddc_table->count) ? (uint8_t)vddc_table->entries[i].v : 0; in smu8_upload_pptable_to_smu()
482 (i < vddc_table->count) ? vddc_table->entries[i].clk : 0; in smu8_upload_pptable_to_smu()
Dsmu7_hwmgr.h107 struct smu7_single_dpm_table vddc_table; member
Dvega10_processpptables.c1084 const ATOM_Vega10_Voltage_Lookup_Table *vddc_table = in init_dpm_2_parameters() local
1089 &pp_table_info->vddc_lookup_table, vddc_table, 8); in init_dpm_2_parameters()
Dsmu7_hwmgr.c641 &data->dpm_table.vddc_table, in smu7_reset_dpm_tables()
717 data->dpm_table.vddc_table.dpm_levels[i].value = allowed_vdd_mclk_table->entries[i].v; in smu7_setup_dpm_tables_v0()
718 data->dpm_table.vddc_table.dpm_levels[i].param1 = std_voltage_table->entries[i].Leakage; in smu7_setup_dpm_tables_v0()
720 data->dpm_table.vddc_table.dpm_levels[i].enabled = 1; in smu7_setup_dpm_tables_v0()
723 data->dpm_table.vddc_table.count = allowed_vdd_sclk_table->count; in smu7_setup_dpm_tables_v0()
/Linux-v4.19/drivers/gpu/drm/radeon/
Drv770_dpm.c579 if (vddc <= pi->vddc_table[i].vddc) { in rv770_populate_vddc_value()
580 voltage->index = pi->vddc_table[i].vddc_index; in rv770_populate_vddc_value()
1121 table->highSMIO[pi->vddc_table[i].vddc_index] = in rv770_populate_smc_vddc_table()
1122 pi->vddc_table[i].high_smio; in rv770_populate_smc_vddc_table()
1123 table->lowSMIO[pi->vddc_table[i].vddc_index] = in rv770_populate_smc_vddc_table()
1124 cpu_to_be32(pi->vddc_table[i].low_smio); in rv770_populate_smc_vddc_table()
1134 pi->vddc_table[i].vddc)); in rv770_populate_smc_vddc_table()
1138 pi->vddc_table[i].vddc_index; in rv770_populate_smc_vddc_table()
1252 pi->vddc_table[i].vddc = (u16)(min + i * step); in rv770_construct_vddc_table()
1254 pi->vddc_table[i].vddc, in rv770_construct_vddc_table()
[all …]
Dci_dpm.h71 struct ci_single_dpm_table vddc_table; member
Drv770_dpm.h105 struct vddc_table_entry vddc_table[MAX_NO_VREG_STEPS]; member
Dci_dpm.c3468 &pi->dpm_table.vddc_table, in ci_setup_default_dpm_tables()
3504 pi->dpm_table.vddc_table.dpm_levels[i].value = in ci_setup_default_dpm_tables()
3506 pi->dpm_table.vddc_table.dpm_levels[i].param1 = in ci_setup_default_dpm_tables()
3508 pi->dpm_table.vddc_table.dpm_levels[i].enabled = true; in ci_setup_default_dpm_tables()
3510 pi->dpm_table.vddc_table.count = allowed_sclk_vddc_table->count; in ci_setup_default_dpm_tables()
3785 struct radeon_clock_voltage_dependency_table *vddc_table = in ci_apply_disp_minimum_voltage_request() local
3800 for (i = 0; i < vddc_table->count; i++) { in ci_apply_disp_minimum_voltage_request()
3801 if (requested_voltage <= vddc_table->entries[i].v) { in ci_apply_disp_minimum_voltage_request()
3802 requested_voltage = vddc_table->entries[i].v; in ci_apply_disp_minimum_voltage_request()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Dci_dpm.h72 struct ci_single_dpm_table vddc_table; member
Dsi_dpm.h562 struct vddc_table_entry vddc_table[MAX_NO_VREG_STEPS]; member
Dci_dpm.c3611 &pi->dpm_table.vddc_table, in ci_setup_default_dpm_tables()
3647 pi->dpm_table.vddc_table.dpm_levels[i].value = in ci_setup_default_dpm_tables()
3649 pi->dpm_table.vddc_table.dpm_levels[i].param1 = in ci_setup_default_dpm_tables()
3651 pi->dpm_table.vddc_table.dpm_levels[i].enabled = true; in ci_setup_default_dpm_tables()
3653 pi->dpm_table.vddc_table.count = allowed_sclk_vddc_table->count; in ci_setup_default_dpm_tables()
3932 struct amdgpu_clock_voltage_dependency_table *vddc_table = in ci_apply_disp_minimum_voltage_request() local
3947 for (i = 0; i < vddc_table->count; i++) { in ci_apply_disp_minimum_voltage_request()
3948 if (requested_voltage <= vddc_table->entries[i].v) { in ci_apply_disp_minimum_voltage_request()
3949 requested_voltage = vddc_table->entries[i].v; in ci_apply_disp_minimum_voltage_request()