Home
last modified time | relevance | path

Searched refs:mem_clks (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_resource.c730 struct dm_pp_clock_levels_with_latency mem_clks = {0}; in bw_calcs_data_update_from_pplib() local
773 &mem_clks) || mem_clks.num_levels == 0) { in bw_calcs_data_update_from_pplib()
775 mem_clks.num_levels = 3; in bw_calcs_data_update_from_pplib()
780 mem_clks.data[i].clocks_in_khz = clk; in bw_calcs_data_update_from_pplib()
781 mem_clks.data[i].latency_in_us = latency; in bw_calcs_data_update_from_pplib()
794 mem_clks.data[0].clocks_in_khz * MEMORY_TYPE_MULTIPLIER, 1000); in bw_calcs_data_update_from_pplib()
796 mem_clks.data[mem_clks.num_levels>>1].clocks_in_khz * MEMORY_TYPE_MULTIPLIER, in bw_calcs_data_update_from_pplib()
799 mem_clks.data[mem_clks.num_levels-1].clocks_in_khz * MEMORY_TYPE_MULTIPLIER, in bw_calcs_data_update_from_pplib()
814 mem_clks.data[0].clocks_in_khz; in bw_calcs_data_update_from_pplib()
816 mem_clks.data[mem_clks.num_levels>>1].clocks_in_khz - 1; in bw_calcs_data_update_from_pplib()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_resource.c932 struct dm_pp_clock_levels_with_latency mem_clks = {0}; in bw_calcs_data_update_from_pplib() local
1007 &mem_clks); in bw_calcs_data_update_from_pplib()
1015 mem_clks.data[0].clocks_in_khz * MEMORY_TYPE_MULTIPLIER, 1000); in bw_calcs_data_update_from_pplib()
1017 mem_clks.data[mem_clks.num_levels>>1].clocks_in_khz * MEMORY_TYPE_MULTIPLIER, in bw_calcs_data_update_from_pplib()
1020 mem_clks.data[mem_clks.num_levels-1].clocks_in_khz * MEMORY_TYPE_MULTIPLIER, in bw_calcs_data_update_from_pplib()
1035 mem_clks.data[0].clocks_in_khz; in bw_calcs_data_update_from_pplib()
1037 mem_clks.data[mem_clks.num_levels>>1].clocks_in_khz - 1; in bw_calcs_data_update_from_pplib()
1045 mem_clks.data[0].clocks_in_khz; in bw_calcs_data_update_from_pplib()
1047 mem_clks.data[mem_clks.num_levels>>1].clocks_in_khz - 1; in bw_calcs_data_update_from_pplib()
1055 mem_clks.data[mem_clks.num_levels>>1].clocks_in_khz; in bw_calcs_data_update_from_pplib()
[all …]