Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/
Ddcn315_clk_mgr.c471 if (clock_table->DfPstateTable[i].FClk > max_fclk) { in dcn315_clk_mgr_helper_populate_bw_params()
472 max_fclk = clock_table->DfPstateTable[i].FClk; in dcn315_clk_mgr_helper_populate_bw_params()
480 uint32_t min_fclk = clock_table->DfPstateTable[0].FClk; in dcn315_clk_mgr_helper_populate_bw_params()
483 if (clock_table->DfPstateTable[j].Voltage <= clock_table->SocVoltage[i] in dcn315_clk_mgr_helper_populate_bw_params()
484 && clock_table->DfPstateTable[j].FClk < min_fclk) { in dcn315_clk_mgr_helper_populate_bw_params()
485 min_fclk = clock_table->DfPstateTable[j].FClk; in dcn315_clk_mgr_helper_populate_bw_params()
500 bw_params->clk_table.entries[i].memclk_mhz = clock_table->DfPstateTable[min_pstate].MemClk; in dcn315_clk_mgr_helper_populate_bw_params()
501 bw_params->clk_table.entries[i].voltage = clock_table->DfPstateTable[min_pstate].Voltage; 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()
513 bw_params->clk_table.entries[i].voltage = clock_table->DfPstateTable[max_pstate].Voltage; in dcn315_clk_mgr_helper_populate_bw_params()
Ddcn315_smu.h77 DfPstateTable_t DfPstateTable[NUM_DF_PSTATE_LEVELS]; member
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/
Ddcn316_clk_mgr.c504 if (clock_table->DfPstateTable[i].FClk != 0) { in dcn316_clk_mgr_helper_populate_bw_params()
530 bw_params->clk_table.entries[i].fclk_mhz = clock_table->DfPstateTable[j].FClk; in dcn316_clk_mgr_helper_populate_bw_params()
531 bw_params->clk_table.entries[i].memclk_mhz = clock_table->DfPstateTable[j].MemClk; in dcn316_clk_mgr_helper_populate_bw_params()
532 bw_params->clk_table.entries[i].voltage = clock_table->DfPstateTable[j].Voltage; in dcn316_clk_mgr_helper_populate_bw_params()
533 switch (clock_table->DfPstateTable[j].WckRatio) { in dcn316_clk_mgr_helper_populate_bw_params()
543 …temp = find_clk_for_voltage(clock_table, clock_table->DcfClocks, clock_table->DfPstateTable[j].Vol… in dcn316_clk_mgr_helper_populate_bw_params()
546 …temp = find_clk_for_voltage(clock_table, clock_table->SocClocks, clock_table->DfPstateTable[j].Vol… in dcn316_clk_mgr_helper_populate_bw_params()
Ddcn316_smu.h85 DfPstateTable_t DfPstateTable[NUM_DF_PSTATE_LEVELS]; member
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
Ddcn31_clk_mgr.c562 if (clock_table->DfPstateTable[i].FClk != 0) { in dcn31_clk_mgr_helper_populate_bw_params()
586 bw_params->clk_table.entries[i].fclk_mhz = clock_table->DfPstateTable[j].FClk; in dcn31_clk_mgr_helper_populate_bw_params()
587 bw_params->clk_table.entries[i].memclk_mhz = clock_table->DfPstateTable[j].MemClk; in dcn31_clk_mgr_helper_populate_bw_params()
588 bw_params->clk_table.entries[i].voltage = clock_table->DfPstateTable[j].Voltage; in dcn31_clk_mgr_helper_populate_bw_params()
589 switch (clock_table->DfPstateTable[j].WckRatio) { in dcn31_clk_mgr_helper_populate_bw_params()
599 …= find_clk_for_voltage(clock_table, clock_table->DcfClocks, clock_table->DfPstateTable[j].Voltage); in dcn31_clk_mgr_helper_populate_bw_params()
600 …= find_clk_for_voltage(clock_table, clock_table->SocClocks, clock_table->DfPstateTable[j].Voltage); in dcn31_clk_mgr_helper_populate_bw_params()
Ddcn31_smu.h138 DfPstateTable_t DfPstateTable[NUM_DF_PSTATE_LEVELS]; member
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/
Dvg_clk_mgr.c633 if (clock_table->DfPstateTable[i].fclk != 0) { in vg_clk_mgr_helper_populate_bw_params()
648 bw_params->clk_table.entries[i].fclk_mhz = clock_table->DfPstateTable[j].fclk; in vg_clk_mgr_helper_populate_bw_params()
649 bw_params->clk_table.entries[i].memclk_mhz = clock_table->DfPstateTable[j].memclk; in vg_clk_mgr_helper_populate_bw_params()
650 bw_params->clk_table.entries[i].voltage = clock_table->DfPstateTable[j].voltage; in vg_clk_mgr_helper_populate_bw_params()
651 …ntries[i].dcfclk_mhz = find_dcfclk_for_voltage(clock_table, clock_table->DfPstateTable[j].voltage); in vg_clk_mgr_helper_populate_bw_params()
686 .DfPstateTable = {
Ddcn301_smu.h109 df_pstate_t DfPstateTable[VG_NUM_FCLK_DPM_LEVELS]; member
/linux-5.19.10/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/
Dsmu13_driver_if_v13_0_5.h119 DfPstateTable_t DfPstateTable[NUM_DF_PSTATE_LEVELS]; member
Dsmu13_driver_if_yellow_carp.h129 DfPstateTable_t DfPstateTable[NUM_DF_PSTATE_LEVELS]; member
Dsmu13_driver_if_v13_0_4.h130 DfPstateTable_t DfPstateTable[NUM_DF_PSTATE_LEVELS]; member
Dsmu11_driver_if_vangogh.h138 df_pstate_t DfPstateTable[NUM_FCLK_DPM_LEVELS]; member
/linux-5.19.10/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dvangogh_ppt.c545 *freq = clk_table->DfPstateTable[dpm_level].memclk; in vangogh_get_dpm_clk_limited()
551 *freq = clk_table->DfPstateTable[dpm_level].fclk; in vangogh_get_dpm_clk_limited()
1952 clock_table->FClocks[i].Freq = table->DfPstateTable[i].fclk; in vangogh_get_dpm_clock_table()
1953 clock_table->FClocks[i].Vol = table->DfPstateTable[i].voltage; in vangogh_get_dpm_clock_table()
1957 clock_table->MemClocks[i].Freq = table->DfPstateTable[i].memclk; in vangogh_get_dpm_clock_table()
1958 clock_table->MemClocks[i].Vol = table->DfPstateTable[i].voltage; in vangogh_get_dpm_clock_table()
/linux-5.19.10/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_5_ppt.c663 *freq = clk_table->DfPstateTable[dpm_level].MemClk; in smu_v13_0_5_get_dpm_freq_by_index()
668 *freq = clk_table->DfPstateTable[dpm_level].FClk; in smu_v13_0_5_get_dpm_freq_by_index()
Dsmu_v13_0_4_ppt.c444 *freq = clk_table->DfPstateTable[dpm_level].MemClk; in smu_v13_0_4_get_dpm_freq_by_index()
449 *freq = clk_table->DfPstateTable[dpm_level].FClk; in smu_v13_0_4_get_dpm_freq_by_index()
Dyellow_carp_ppt.c771 *freq = clk_table->DfPstateTable[dpm_level].MemClk; in yellow_carp_get_dpm_freq_by_index()
776 *freq = clk_table->DfPstateTable[dpm_level].FClk; in yellow_carp_get_dpm_freq_by_index()