Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.c1588 struct mcif_arb_params *wb_arb_params; in dcn30_set_mcif_arb_params() local
1605 wb_arb_params = &context->bw_ctx.bw.dcn.bw_writeback.mcif_wb_arb[dwb_pipe]; in dcn30_set_mcif_arb_params()
1613 …for (k = 0; k < sizeof(wb_arb_params->cli_watermark)/sizeof(wb_arb_params->cli_watermark[0]); k++)… in dcn30_set_mcif_arb_params()
1614 wb_arb_params->cli_watermark[k] = get_wm_writeback_urgent(dml, pipes, pipe_cnt) * 1000; in dcn30_set_mcif_arb_params()
1615wb_arb_params->pstate_watermark[k] = get_wm_writeback_dram_clock_change(dml, pipes, pipe_cnt) * 10… in dcn30_set_mcif_arb_params()
1617wb_arb_params->time_per_pixel = (1000000 << 6) / context->res_ctx.pipe_ctx[i].stream->phy_pix_clk;… in dcn30_set_mcif_arb_params()
1618 wb_arb_params->slice_lines = 32; in dcn30_set_mcif_arb_params()
1619 wb_arb_params->arbitration_slice = 2; /* irrelevant since there is no YUV output */ in dcn30_set_mcif_arb_params()
1620 wb_arb_params->max_scaled_time = dcn30_calc_max_scaled_time(wb_arb_params->time_per_pixel, in dcn30_set_mcif_arb_params()
1622 wb_arb_params->cli_watermark[0]); /* assume 4 watermark sets have the same value */ in dcn30_set_mcif_arb_params()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c2427 struct mcif_arb_params *wb_arb_params; local
2442 wb_arb_params = &context->bw_ctx.bw.dcn.bw_writeback.mcif_wb_arb[dwb_pipe];
2452 …for (k = 0; k < sizeof(wb_arb_params->cli_watermark)/sizeof(wb_arb_params->cli_watermark[0]); k++)…
2453wb_arb_params->cli_watermark[k] = get_wm_writeback_urgent(&context->bw_ctx.dml, pipes, pipe_cnt) *…
2454wb_arb_params->pstate_watermark[k] = get_wm_writeback_dram_clock_change(&context->bw_ctx.dml, pipe…
2456wb_arb_params->time_per_pixel = 16.0 / context->res_ctx.pipe_ctx[i].stream->phy_pix_clk; /* 4 bit …
2457 wb_arb_params->slice_lines = 32;
2458 wb_arb_params->arbitration_slice = 2;
2459 wb_arb_params->max_scaled_time = dcn20_calc_max_scaled_time(wb_arb_params->time_per_pixel,
2461 wb_arb_params->cli_watermark[0]); /* assume 4 watermark sets have the same value */