Home
last modified time | relevance | path

Searched refs:DfPstateTable (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
H A Ddcn314_clk_mgr.c578 if (is_valid_clock_value(clock_table->DfPstateTable[i].FClk) && in dcn314_clk_mgr_helper_populate_bw_params()
579 clock_table->DfPstateTable[i].FClk > max_fclk) { in dcn314_clk_mgr_helper_populate_bw_params()
580 max_fclk = clock_table->DfPstateTable[i].FClk; in dcn314_clk_mgr_helper_populate_bw_params()
600 uint32_t min_fclk = clock_table->DfPstateTable[0].FClk; in dcn314_clk_mgr_helper_populate_bw_params()
605 clock_table->DfPstateTable[j].FClk < min_fclk && in dcn314_clk_mgr_helper_populate_bw_params()
607 min_fclk = clock_table->DfPstateTable[j].FClk; in dcn314_clk_mgr_helper_populate_bw_params()
630 clock_table->DfPstateTable[min_pstate].WckRatio); in dcn314_clk_mgr_helper_populate_bw_params()
646 clock_table->DfPstateTable[max_pstate].WckRatio); in dcn314_clk_mgr_helper_populate_bw_params()
825 i, smu_dpm_clks.dpm_clks->DfPstateTable[i].FClk, in dcn314_clk_mgr_construct()
826 i, smu_dpm_clks.dpm_clks->DfPstateTable[i].MemClk, in dcn314_clk_mgr_construct()
[all …]
H A Ddcn314_smu.h57 DfPstateTable314_t DfPstateTable[NUM_DF_PSTATE_LEVELS]; member
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
H A Ddcn31_clk_mgr.c570 if (clock_table->DfPstateTable[i].FClk != 0) { in dcn31_clk_mgr_helper_populate_bw_params()
594 bw_params->clk_table.entries[i].fclk_mhz = clock_table->DfPstateTable[j].FClk; in dcn31_clk_mgr_helper_populate_bw_params()
595 bw_params->clk_table.entries[i].memclk_mhz = clock_table->DfPstateTable[j].MemClk; in dcn31_clk_mgr_helper_populate_bw_params()
596 bw_params->clk_table.entries[i].voltage = clock_table->DfPstateTable[j].Voltage; in dcn31_clk_mgr_helper_populate_bw_params()
597 switch (clock_table->DfPstateTable[j].WckRatio) { in dcn31_clk_mgr_helper_populate_bw_params()
607 …= find_clk_for_voltage(clock_table, clock_table->DcfClocks, clock_table->DfPstateTable[j].Voltage); in dcn31_clk_mgr_helper_populate_bw_params()
608 …= find_clk_for_voltage(clock_table, clock_table->SocClocks, clock_table->DfPstateTable[j].Voltage); in dcn31_clk_mgr_helper_populate_bw_params()
783 i, smu_dpm_clks.dpm_clks->DfPstateTable[i].FClk, in dcn31_clk_mgr_construct()
784 i, smu_dpm_clks.dpm_clks->DfPstateTable[i].MemClk, in dcn31_clk_mgr_construct()
785 i, smu_dpm_clks.dpm_clks->DfPstateTable[i].Voltage); in dcn31_clk_mgr_construct()
H A Ddcn31_smu.h138 DfPstateTable_t DfPstateTable[NUM_DF_PSTATE_LEVELS]; member
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/
H A Dvg_clk_mgr.c572 if (clock_table->DfPstateTable[i].fclk != 0) { in vg_clk_mgr_helper_populate_bw_params()
587 bw_params->clk_table.entries[i].fclk_mhz = clock_table->DfPstateTable[j].fclk; in vg_clk_mgr_helper_populate_bw_params()
588 bw_params->clk_table.entries[i].memclk_mhz = clock_table->DfPstateTable[j].memclk; in vg_clk_mgr_helper_populate_bw_params()
589 bw_params->clk_table.entries[i].voltage = clock_table->DfPstateTable[j].voltage; in vg_clk_mgr_helper_populate_bw_params()
590 …ntries[i].dcfclk_mhz = find_dcfclk_for_voltage(clock_table, clock_table->DfPstateTable[j].voltage); in vg_clk_mgr_helper_populate_bw_params()
592 bw_params->clk_table.entries[i].fclk_mhz = clock_table->DfPstateTable[j].fclk; in vg_clk_mgr_helper_populate_bw_params()
593 bw_params->clk_table.entries[i].memclk_mhz = clock_table->DfPstateTable[j].memclk; in vg_clk_mgr_helper_populate_bw_params()
594 bw_params->clk_table.entries[i].voltage = clock_table->DfPstateTable[j].voltage; in vg_clk_mgr_helper_populate_bw_params()
628 .DfPstateTable = {
H A Ddcn301_smu.h109 df_pstate_t DfPstateTable[VG_NUM_FCLK_DPM_LEVELS]; member
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/
H A Ddcn315_clk_mgr.c495 if (clock_table->DfPstateTable[j].Voltage <= clock_table->SocVoltage[i]) in dcn315_clk_mgr_helper_populate_bw_params()
511 bw_params->clk_table.entries[i].fclk_mhz = clock_table->DfPstateTable[max_pstate].FClk; in dcn315_clk_mgr_helper_populate_bw_params()
512 bw_params->clk_table.entries[i].memclk_mhz = clock_table->DfPstateTable[max_pstate].MemClk; in dcn315_clk_mgr_helper_populate_bw_params()
523 bw_params->clk_table.entries[i].fclk_mhz = clock_table->DfPstateTable[0].FClk; in dcn315_clk_mgr_helper_populate_bw_params()
524 bw_params->clk_table.entries[i].memclk_mhz = clock_table->DfPstateTable[0].MemClk; in dcn315_clk_mgr_helper_populate_bw_params()
525 bw_params->clk_table.entries[i].voltage = clock_table->DfPstateTable[0].Voltage; in dcn315_clk_mgr_helper_populate_bw_params()
710 i, smu_dpm_clks.dpm_clks->DfPstateTable[i].FClk, in dcn315_clk_mgr_construct()
711 i, smu_dpm_clks.dpm_clks->DfPstateTable[i].MemClk, in dcn315_clk_mgr_construct()
712 i, smu_dpm_clks.dpm_clks->DfPstateTable[i].Voltage); in dcn315_clk_mgr_construct()
H A Ddcn315_smu.h77 DfPstateTable_t DfPstateTable[NUM_DF_PSTATE_LEVELS]; member
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/
H A Ddcn316_clk_mgr.c493 if (clock_table->DfPstateTable[i].FClk != 0) { in dcn316_clk_mgr_helper_populate_bw_params()
519 bw_params->clk_table.entries[i].fclk_mhz = clock_table->DfPstateTable[j].FClk; in dcn316_clk_mgr_helper_populate_bw_params()
520 bw_params->clk_table.entries[i].memclk_mhz = clock_table->DfPstateTable[j].MemClk; in dcn316_clk_mgr_helper_populate_bw_params()
521 bw_params->clk_table.entries[i].voltage = clock_table->DfPstateTable[j].Voltage; in dcn316_clk_mgr_helper_populate_bw_params()
522 switch (clock_table->DfPstateTable[j].WckRatio) { in dcn316_clk_mgr_helper_populate_bw_params()
532 …temp = find_clk_for_voltage(clock_table, clock_table->DcfClocks, clock_table->DfPstateTable[j].Vol… in dcn316_clk_mgr_helper_populate_bw_params()
535 …temp = find_clk_for_voltage(clock_table, clock_table->SocClocks, clock_table->DfPstateTable[j].Vol… in dcn316_clk_mgr_helper_populate_bw_params()
H A Ddcn316_smu.h85 DfPstateTable_t DfPstateTable[NUM_DF_PSTATE_LEVELS]; member
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/
H A Dsmu13_driver_if_v13_0_5.h118 DfPstateTable_t DfPstateTable[NUM_DF_PSTATE_LEVELS]; member
H A Dsmu13_driver_if_yellow_carp.h129 DfPstateTable_t DfPstateTable[NUM_DF_PSTATE_LEVELS]; member
H A Dsmu11_driver_if_vangogh.h138 df_pstate_t DfPstateTable[NUM_FCLK_DPM_LEVELS]; member
H A Dsmu13_driver_if_v13_0_4.h130 DfPstateTable_t DfPstateTable[NUM_DF_PSTATE_LEVELS]; member
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dvangogh_ppt.c567 *freq = clk_table->DfPstateTable[dpm_level].memclk; in vangogh_get_dpm_clk_limited()
573 *freq = clk_table->DfPstateTable[dpm_level].fclk; in vangogh_get_dpm_clk_limited()
2234 clock_table->FClocks[i].Freq = table->DfPstateTable[i].fclk; in vangogh_get_dpm_clock_table()
2235 clock_table->FClocks[i].Vol = table->DfPstateTable[i].voltage; in vangogh_get_dpm_clock_table()
2239 clock_table->MemClocks[i].Freq = table->DfPstateTable[i].memclk; in vangogh_get_dpm_clock_table()
2240 clock_table->MemClocks[i].Vol = table->DfPstateTable[i].voltage; in vangogh_get_dpm_clock_table()
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0_5_ppt.c676 *freq = clk_table->DfPstateTable[dpm_level].MemClk; in smu_v13_0_5_get_dpm_freq_by_index()
681 *freq = clk_table->DfPstateTable[dpm_level].FClk; in smu_v13_0_5_get_dpm_freq_by_index()
H A Dsmu_v13_0_4_ppt.c454 *freq = clk_table->DfPstateTable[dpm_level].MemClk; in smu_v13_0_4_get_dpm_freq_by_index()
459 *freq = clk_table->DfPstateTable[dpm_level].FClk; in smu_v13_0_4_get_dpm_freq_by_index()
H A Dyellow_carp_ppt.c810 *freq = clk_table->DfPstateTable[dpm_level].MemClk; in yellow_carp_get_dpm_freq_by_index()
815 *freq = clk_table->DfPstateTable[dpm_level].FClk; in yellow_carp_get_dpm_freq_by_index()