Home
last modified time | relevance | path

Searched refs:pipe_cnt (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn20/
A Ddcn20_fpu.c883 int pipe_cnt, i; in dcn20_populate_dml_writeback_from_context() local
915 pipe_cnt++; in dcn20_populate_dml_writeback_from_context()
1042 int pipe_cnt, in dcn20_calculate_dlg_params() argument
1127 pipe_cnt, in dcn20_calculate_dlg_params()
1209 int pipe_cnt, i; in dcn20_populate_dml_pipes_from_context() local
1220 pipe_cnt = i; in dcn20_populate_dml_pipes_from_context()
1608 pipe_cnt++; in dcn20_populate_dml_pipes_from_context()
1614 return pipe_cnt; in dcn20_populate_dml_pipes_from_context()
1664 pipe_cnt++; in dcn20_calculate_wm()
2154 pipe_cnt++; in dcn21_calculate_wm()
[all …]
A Ddcn20_fpu.h38 int pipe_cnt, int i);
42 int pipe_cnt,
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn30/
A Ddcn30_fpu.c260 int pipe_cnt, i, j; in dcn30_fpu_populate_dml_writeback_from_context() local
275 pipes[pipe_cnt].dout.wb_enable = 0; in dcn30_fpu_populate_dml_writeback_from_context()
276 pipes[pipe_cnt].dout.num_active_wb = 0; in dcn30_fpu_populate_dml_writeback_from_context()
282 pipes[pipe_cnt].dout.wb_enable = 1; in dcn30_fpu_populate_dml_writeback_from_context()
283 pipes[pipe_cnt].dout.num_active_wb++; in dcn30_fpu_populate_dml_writeback_from_context()
333 pipes[pipe_cnt].pipe.dest.htotal, in dcn30_fpu_populate_dml_writeback_from_context()
338 pipes[pipe_cnt].dout.wb = dout_wb; in dcn30_fpu_populate_dml_writeback_from_context()
343 pipe_cnt++; in dcn30_fpu_populate_dml_writeback_from_context()
350 int pipe_cnt, in dcn30_fpu_set_mcif_arb_params() argument
380 int pipe_cnt, in dcn30_fpu_calculate_wm_and_dlg() argument
[all …]
A Ddcn30_fpu.h41 int pipe_cnt,
49 int pipe_cnt,
69 int pipe_cnt,
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn314/
A Ddcn314_fpu.c285 int i, pipe_cnt; in dcn314_populate_dml_pipes_from_context_fpu() local
322 pipes[pipe_cnt].pipe.dest.vblank_nom = in dcn314_populate_dml_pipes_from_context_fpu()
324 pipes[pipe_cnt].pipe.src.dcc_rate = 3; in dcn314_populate_dml_pipes_from_context_fpu()
325 pipes[pipe_cnt].dout.dsc_input_bpc = 0; in dcn314_populate_dml_pipes_from_context_fpu()
327 if (pipes[pipe_cnt].dout.dsc_enable) { in dcn314_populate_dml_pipes_from_context_fpu()
330 pipes[pipe_cnt].dout.dsc_input_bpc = 8; in dcn314_populate_dml_pipes_from_context_fpu()
333 pipes[pipe_cnt].dout.dsc_input_bpc = 10; in dcn314_populate_dml_pipes_from_context_fpu()
336 pipes[pipe_cnt].dout.dsc_input_bpc = 12; in dcn314_populate_dml_pipes_from_context_fpu()
344 pipe_cnt++; in dcn314_populate_dml_pipes_from_context_fpu()
349 if (pipe_cnt == 1 && pipe->plane_state in dcn314_populate_dml_pipes_from_context_fpu()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn301/
A Ddcn301_fpu.c297 int pipe_cnt) in calculate_wm_set_for_vlevel() argument
311 wm_set->urgent_ns = get_wm_urgent(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
313 wm_set->cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
315 wm_set->pte_meta_urgent_ns = get_wm_memory_trip(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
318 wm_set->urgent_latency_ns = get_urgent_latency(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
417 int pipe_cnt, in dcn301_calculate_wm_and_dlg_fp() argument
437 &context->bw_ctx.dml, pipes, pipe_cnt); in dcn301_calculate_wm_and_dlg_fp()
442 &context->bw_ctx.dml, pipes, pipe_cnt); in dcn301_calculate_wm_and_dlg_fp()
447 &context->bw_ctx.dml, pipes, pipe_cnt); in dcn301_calculate_wm_and_dlg_fp()
453 &context->bw_ctx.dml, pipes, pipe_cnt); in dcn301_calculate_wm_and_dlg_fp()
[all …]
A Ddcn301_fpu.h40 int pipe_cnt,
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn32/
A Ddcn32_fpu.h37 int pipe_cnt);
51 unsigned int pipe_cnt,
63 int pipe_cnt,
71 int pipe_cnt,
77 int pipe_cnt);
A Ddcn32_fpu.c256 int pipe_cnt, in dcn32_find_dummy_latency_index_for_fw_based_mclk_switch() argument
314 int pipe_cnt) in dcn32_helper_populate_phantom_dlg_params() argument
537 unsigned int pipe_cnt, in dcn32_set_phantom_stream_timing() argument
1092 int *pipe_cnt) in dcn32_full_validate_bw_helper() argument
1313 int pipe_cnt, int vlevel) in dcn32_calculate_dlg_params() argument
1455 pipe_cnt, pipe_idx); in dcn32_calculate_dlg_params()
1603 int pipe_cnt, i, pipe_idx; in dcn32_internal_validate_bw() local
1620 if (!pipe_cnt) { in dcn32_internal_validate_bw()
1899 *pipe_cnt_out = pipe_cnt; in dcn32_internal_validate_bw()
1914 int pipe_cnt, in dcn32_calculate_wm_and_dlg_fpu() argument
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn31/
A Ddcn31_fpu.c444 int pipe_cnt) in dcn31_zero_pipe_dcc_fraction() argument
448 pipes[pipe_cnt].pipe.src.dcc_fraction_of_zs_req_luma = 0; in dcn31_zero_pipe_dcc_fraction()
449 pipes[pipe_cnt].pipe.src.dcc_fraction_of_zs_req_chroma = 0; in dcn31_zero_pipe_dcc_fraction()
483 int pipe_cnt, in dcn31_calculate_wm_and_dlg_fp() argument
498 if (pipe_cnt == 0) { in dcn31_calculate_wm_and_dlg_fp()
513 …bw_ctx.bw.dcn.watermarks.a.urgent_ns = get_wm_urgent(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; in dcn31_calculate_wm_and_dlg_fp()
519 …watermarks.a.pte_meta_urgent_ns = get_wm_memory_trip(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; in dcn31_calculate_wm_and_dlg_fp()
522 ….watermarks.a.urgent_latency_ns = get_urgent_latency(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; in dcn31_calculate_wm_and_dlg_fp()
534 …pes[pipe_idx].clks_cfg.dispclk_mhz = get_dispclk_calculated(&context->bw_ctx.dml, pipes, pipe_cnt); in dcn31_calculate_wm_and_dlg_fp()
535 …pipes[pipe_idx].clks_cfg.dppclk_mhz = get_dppclk_calculated(&context->bw_ctx.dml, pipes, pipe_cnt,… in dcn31_calculate_wm_and_dlg_fp()
[all …]
A Ddcn31_fpu.h35 int pipe_cnt);
43 int pipe_cnt,
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn32/
A Ddcn32_resource_helpers.c298 uint8_t pipe_cnt = 0; in dcn32_determine_det_override() local
348 for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { in dcn32_determine_det_override()
351 pipes[pipe_cnt].pipe.src.det_size_override = pipe_segments[i] * DCN3_2_DET_SEG_SIZE; in dcn32_determine_det_override()
352 pipe_cnt++; in dcn32_determine_det_override()
363 int i, pipe_cnt; in dcn32_set_det_allocations() local
368 for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { in dcn32_set_det_allocations()
374 pipe_cnt++; in dcn32_set_det_allocations()
381 if (pipe_cnt == 1) { in dcn32_set_det_allocations()
A Ddcn32_resource.c1698 unsigned int pipe_cnt, in dcn32_enable_phantom_stream() argument
1800 unsigned int pipe_cnt, in dcn32_add_phantom_pipes() argument
1838 int pipe_cnt = 0; in dcn32_validate_bandwidth() local
1873 if (pipe_cnt == 0) in dcn32_validate_bandwidth()
1912 int i, pipe_cnt; in dcn32_populate_dml_pipes_from_context() local
1943 pipe_cnt++; in dcn32_populate_dml_pipes_from_context()
1953 pipes[pipe_cnt].pipe.src.gpuvm = true; in dcn32_populate_dml_pipes_from_context()
1987 if (pipes[pipe_cnt].dout.dsc_enable) { in dcn32_populate_dml_pipes_from_context()
2008 pipe_cnt++; in dcn32_populate_dml_pipes_from_context()
2025 return pipe_cnt; in dcn32_populate_dml_pipes_from_context()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn30/
A Ddcn30_resource.h52 int pipe_cnt);
72 int pipe_cnt,
106 display_e2e_pipe_params_st *pipes, int pipe_cnt, int vlevel);
A Ddcn30_resource.c1342 int i, pipe_cnt; in dcn30_populate_dml_pipes_from_context() local
1353 pipes[pipe_cnt++].pipe.scale_ratio_depth.lb_depth = in dcn30_populate_dml_pipes_from_context()
1357 return pipe_cnt; in dcn30_populate_dml_pipes_from_context()
1395 int pipe_cnt) in dcn30_set_mcif_arb_params() argument
1659 int pipe_cnt, i, pipe_idx, vlevel; in dcn30_internal_validate_bw() local
1672 if (!pipe_cnt) { in dcn30_internal_validate_bw()
1677 dml_log_pipe_params(&context->bw_ctx.dml, pipes, pipe_cnt); in dcn30_internal_validate_bw()
1890 *pipe_cnt_out = pipe_cnt; in dcn30_internal_validate_bw()
2044 int pipe_cnt, in dcn30_calculate_wm_and_dlg() argument
2061 int pipe_cnt = 0; in dcn30_validate_bandwidth() local
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn31/
A Ddcn31_resource.c1648 uint32_t pipe_cnt; in dcn31x_populate_dml_pipes_from_context() local
1655 for (i = 0; i < pipe_cnt; i++) { in dcn31x_populate_dml_pipes_from_context()
1665 return pipe_cnt; in dcn31x_populate_dml_pipes_from_context()
1673 int i, pipe_cnt; in dcn31_populate_dml_pipes_from_context() local
1701 pipes[pipe_cnt].pipe.src.gpuvm = true; in dcn31_populate_dml_pipes_from_context()
1727 pipe_cnt++; in dcn31_populate_dml_pipes_from_context()
1747 return pipe_cnt; in dcn31_populate_dml_pipes_from_context()
1753 int pipe_cnt, in dcn31_calculate_wm_and_dlg() argument
1775 int pipe_cnt) in dcn31_set_mcif_arb_params() argument
1791 int pipe_cnt = 0; in dcn31_validate_bandwidth() local
[all …]
A Ddcn31_resource.h46 int pipe_cnt,
60 int pipe_cnt);
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn316/
A Ddcn316_resource.c1648 int i, pipe_cnt; in dcn316_populate_dml_pipes_from_context() local
1674 pipes[pipe_cnt].pipe.src.dcc_rate = 3; in dcn316_populate_dml_pipes_from_context()
1675 pipes[pipe_cnt].dout.dsc_input_bpc = 0; in dcn316_populate_dml_pipes_from_context()
1677 dcn31_zero_pipe_dcc_fraction(pipes, pipe_cnt); in dcn316_populate_dml_pipes_from_context()
1680 if (pipes[pipe_cnt].dout.dsc_enable) { in dcn316_populate_dml_pipes_from_context()
1683 pipes[pipe_cnt].dout.dsc_input_bpc = 8; in dcn316_populate_dml_pipes_from_context()
1686 pipes[pipe_cnt].dout.dsc_input_bpc = 10; in dcn316_populate_dml_pipes_from_context()
1689 pipes[pipe_cnt].dout.dsc_input_bpc = 12; in dcn316_populate_dml_pipes_from_context()
1697 pipe_cnt++; in dcn316_populate_dml_pipes_from_context()
1700 if (pipe_cnt) in dcn316_populate_dml_pipes_from_context()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn315/
A Ddcn315_resource.c1646 int i, pipe_cnt; in dcn315_populate_dml_pipes_from_context() local
1672 pipes[pipe_cnt].pipe.src.dcc_rate = 3; in dcn315_populate_dml_pipes_from_context()
1673 pipes[pipe_cnt].dout.dsc_input_bpc = 0; in dcn315_populate_dml_pipes_from_context()
1675 dcn31_zero_pipe_dcc_fraction(pipes, pipe_cnt); in dcn315_populate_dml_pipes_from_context()
1678 if (pipes[pipe_cnt].dout.dsc_enable) { in dcn315_populate_dml_pipes_from_context()
1681 pipes[pipe_cnt].dout.dsc_input_bpc = 8; in dcn315_populate_dml_pipes_from_context()
1684 pipes[pipe_cnt].dout.dsc_input_bpc = 10; in dcn315_populate_dml_pipes_from_context()
1687 pipes[pipe_cnt].dout.dsc_input_bpc = 12; in dcn315_populate_dml_pipes_from_context()
1695 pipe_cnt++; in dcn315_populate_dml_pipes_from_context()
1698 if (pipe_cnt) in dcn315_populate_dml_pipes_from_context()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/
A Dcore_types.h87 int pipe_cnt,
188 int pipe_cnt);
213 unsigned int pipe_cnt,
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/
A Ddisplay_mode_lib.h107 int pipe_cnt);
A Ddisplay_mode_lib.c164 int pipe_cnt) in dml_log_pipe_params() argument
174 for (i = 0; i < pipe_cnt; i++) { in dml_log_pipe_params()
/linux-6.3-rc2/drivers/usb/host/
A Dr8a66597.h79 unsigned char pipe_cnt[R8A66597_MAX_NUM_PIPE]; member
120 unsigned char pipe_cnt[R8A66597_MAX_NUM_PIPE]; member
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn21/
A Ddcn21_resource.c819 int pipe_cnt, i, pipe_idx, vlevel; in dcn21_fast_validate_bw() local
828 pipe_cnt = dc->res_pool->funcs->populate_dml_pipes(dc, context, pipes, fast_validate); in dcn21_fast_validate_bw()
831 *pipe_cnt_out = pipe_cnt; in dcn21_fast_validate_bw()
833 if (!pipe_cnt) { in dcn21_fast_validate_bw()
844 vlevel = dml_get_voltage_level(&context->bw_ctx.dml, pipes, pipe_cnt); in dcn21_fast_validate_bw()
856 vlevel = dml_get_voltage_level(&context->bw_ctx.dml, pipes, pipe_cnt); in dcn21_fast_validate_bw()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/
A Ddcn20_resource.h118 int pipe_cnt);

Completed in 61 milliseconds

12