Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_pp_smu.c213 struct dm_pp_clock_levels *dc_clks, in pp_to_dc_clock_levels() argument
224 dc_clks->num_levels = DM_PP_MAX_CLOCK_LEVELS; in pp_to_dc_clock_levels()
226 dc_clks->num_levels = pp_clks->count; in pp_to_dc_clock_levels()
231 for (i = 0; i < dc_clks->num_levels; i++) { in pp_to_dc_clock_levels()
233 dc_clks->clocks_in_khz[i] = pp_clks->clock[i]; in pp_to_dc_clock_levels()
295 struct dm_pp_clock_levels *dc_clks) in dm_pp_get_clock_levels_by_type() argument
305 get_default_clock_levels(clk_type, dc_clks); in dm_pp_get_clock_levels_by_type()
309 pp_to_dc_clock_levels(&pp_clks, dc_clks, clk_type); in dm_pp_get_clock_levels_by_type()
333 for (i = 0; i < dc_clks->num_levels; i++) { in dm_pp_get_clock_levels_by_type()
334 if (dc_clks->clocks_in_khz[i] > validation_clks.engine_max_clock) { in dm_pp_get_clock_levels_by_type()
[all …]