Lines Matching defs:vlevel
292 static void calculate_wm_set_for_vlevel(int vlevel,
301 ASSERT(vlevel < dml->soc.num_states);
303 pipes[0].clks_cfg.voltage = vlevel;
304 pipes[0].clks_cfg.dcfclk_mhz = dml->soc.clock_limits[vlevel].dcfclk_mhz;
305 pipes[0].clks_cfg.socclk_mhz = dml->soc.clock_limits[vlevel].socclk_mhz;
419 int vlevel, vlevel_max;
431 vlevel = 0;
433 vlevel = vlevel_max;
434 calculate_wm_set_for_vlevel(vlevel, table_entry, &context->bw_ctx.bw.dcn.watermarks.d,
438 vlevel = min(max(vlevel_req, 2), vlevel_max);
439 calculate_wm_set_for_vlevel(vlevel, table_entry, &context->bw_ctx.bw.dcn.watermarks.c,
443 vlevel = min(max(vlevel_req, 1), vlevel_max);
444 calculate_wm_set_for_vlevel(vlevel, table_entry, &context->bw_ctx.bw.dcn.watermarks.b,
449 vlevel = min(vlevel_req, vlevel_max);
450 calculate_wm_set_for_vlevel(vlevel, table_entry, &context->bw_ctx.bw.dcn.watermarks.a,
471 dcn20_calculate_dlg_params(dc, context, pipes, pipe_cnt, vlevel);