Searched refs:eng_clks (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce120/ |
D | dce120_resource.c | 729 struct dm_pp_clock_levels_with_latency eng_clks = {0}; in bw_calcs_data_update_from_pplib() local 740 &eng_clks) || eng_clks.num_levels == 0) { in bw_calcs_data_update_from_pplib() 742 eng_clks.num_levels = 8; in bw_calcs_data_update_from_pplib() 745 for (i = 0; i < eng_clks.num_levels; i++) { in bw_calcs_data_update_from_pplib() 746 eng_clks.data[i].clocks_in_khz = clk; in bw_calcs_data_update_from_pplib() 753 eng_clks.data[eng_clks.num_levels-1].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib() 755 eng_clks.data[eng_clks.num_levels/8].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib() 757 eng_clks.data[eng_clks.num_levels*2/8].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib() 759 eng_clks.data[eng_clks.num_levels*3/8].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib() 761 eng_clks.data[eng_clks.num_levels*4/8].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib() [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce112/ |
D | dce112_resource.c | 931 struct dm_pp_clock_levels_with_latency eng_clks = {0}; in bw_calcs_data_update_from_pplib() local 942 &eng_clks)) { in bw_calcs_data_update_from_pplib() 987 eng_clks.data[eng_clks.num_levels-1].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib() 989 eng_clks.data[eng_clks.num_levels/8].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib() 991 eng_clks.data[eng_clks.num_levels*2/8].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib() 993 eng_clks.data[eng_clks.num_levels*3/8].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib() 995 eng_clks.data[eng_clks.num_levels*4/8].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib() 997 eng_clks.data[eng_clks.num_levels*5/8].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib() 999 eng_clks.data[eng_clks.num_levels*6/8].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib() 1001 eng_clks.data[0].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib() [all …]
|