/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/ |
H A D | dcn314_clk_mgr.c | 578 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 D | dcn314_smu.h | 57 DfPstateTable314_t DfPstateTable[NUM_DF_PSTATE_LEVELS]; member
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/ |
H A D | dcn31_clk_mgr.c | 570 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 D | dcn31_smu.h | 138 DfPstateTable_t DfPstateTable[NUM_DF_PSTATE_LEVELS]; member
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/ |
H A D | vg_clk_mgr.c | 572 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 D | dcn301_smu.h | 109 df_pstate_t DfPstateTable[VG_NUM_FCLK_DPM_LEVELS]; member
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/ |
H A D | dcn315_clk_mgr.c | 495 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 D | dcn315_smu.h | 77 DfPstateTable_t DfPstateTable[NUM_DF_PSTATE_LEVELS]; member
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/ |
H A D | dcn316_clk_mgr.c | 493 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 D | dcn316_smu.h | 85 DfPstateTable_t DfPstateTable[NUM_DF_PSTATE_LEVELS]; member
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/ |
H A D | smu13_driver_if_v13_0_5.h | 118 DfPstateTable_t DfPstateTable[NUM_DF_PSTATE_LEVELS]; member
|
H A D | smu13_driver_if_yellow_carp.h | 129 DfPstateTable_t DfPstateTable[NUM_DF_PSTATE_LEVELS]; member
|
H A D | smu11_driver_if_vangogh.h | 138 df_pstate_t DfPstateTable[NUM_FCLK_DPM_LEVELS]; member
|
H A D | smu13_driver_if_v13_0_4.h | 130 DfPstateTable_t DfPstateTable[NUM_DF_PSTATE_LEVELS]; member
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
H A D | vangogh_ppt.c | 567 *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 D | smu_v13_0_5_ppt.c | 676 *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 D | smu_v13_0_4_ppt.c | 454 *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 D | yellow_carp_ppt.c | 810 *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()
|