Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
A Ddcn20_fpu.c994 int pipe_cnt, i; in dcn20_populate_dml_writeback_from_context() local
1026 pipe_cnt++; in dcn20_populate_dml_writeback_from_context()
1144 int pipe_cnt, in dcn20_calculate_dlg_params() argument
1239 pipe_cnt, in dcn20_calculate_dlg_params()
1320 int pipe_cnt, i; in dcn20_populate_dml_pipes_from_context() local
1331 pipe_cnt = i; in dcn20_populate_dml_pipes_from_context()
1722 pipe_cnt++; in dcn20_populate_dml_pipes_from_context()
1728 return pipe_cnt; in dcn20_populate_dml_pipes_from_context()
1777 pipe_cnt++; in dcn20_calculate_wm()
2278 pipe_cnt++; in dcn21_calculate_wm()
[all …]
A Ddcn20_fpu.h38 int pipe_cnt, int i);
42 int pipe_cnt,
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/
A Ddcn314_fpu.c311 int i, pipe_cnt; in dcn314_populate_dml_pipes_from_context_fpu() local
340 pipes[pipe_cnt].pipe.dest.vblank_nom = timing->v_total - pipes[pipe_cnt].pipe.dest.vactive; in dcn314_populate_dml_pipes_from_context_fpu()
341 pipes[pipe_cnt].pipe.dest.vblank_nom = min(pipes[pipe_cnt].pipe.dest.vblank_nom, num_lines); in dcn314_populate_dml_pipes_from_context_fpu()
346 pipes[pipe_cnt].pipe.dest.vblank_nom = in dcn314_populate_dml_pipes_from_context_fpu()
348 …pipes[pipe_cnt].pipe.dest.vblank_nom = min(pipes[pipe_cnt].pipe.dest.vblank_nom, max_allowed_vblan… in dcn314_populate_dml_pipes_from_context_fpu()
370 pipes[pipe_cnt].pipe.src.dcc_rate = 3; in dcn314_populate_dml_pipes_from_context_fpu()
371 pipes[pipe_cnt].dout.dsc_input_bpc = 0; in dcn314_populate_dml_pipes_from_context_fpu()
373 if (pipes[pipe_cnt].dout.dsc_enable) { in dcn314_populate_dml_pipes_from_context_fpu()
390 pipe_cnt++; in dcn314_populate_dml_pipes_from_context_fpu()
395 if (pipe_cnt == 1 && pipe->plane_state in dcn314_populate_dml_pipes_from_context_fpu()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn35/
A Ddcn35_fpu.c440 int i, pipe_cnt; in dcn35_populate_dml_pipes_from_context_fpu() local
466 pipes[pipe_cnt].pipe.dest.vtotal = in dcn35_populate_dml_pipes_from_context_fpu()
469 pipes[pipe_cnt].pipe.dest.vactive; in dcn35_populate_dml_pipes_from_context_fpu()
472 pipes[pipe_cnt].pipe.dest.vblank_nom = timing->v_total - pipes[pipe_cnt].pipe.dest.vactive; in dcn35_populate_dml_pipes_from_context_fpu()
473 pipes[pipe_cnt].pipe.dest.vblank_nom = min(pipes[pipe_cnt].pipe.dest.vblank_nom, num_lines); in dcn35_populate_dml_pipes_from_context_fpu()
478 pipes[pipe_cnt].pipe.dest.vblank_nom = in dcn35_populate_dml_pipes_from_context_fpu()
480 …pipes[pipe_cnt].pipe.dest.vblank_nom = min(pipes[pipe_cnt].pipe.dest.vblank_nom, max_allowed_vblan… in dcn35_populate_dml_pipes_from_context_fpu()
504 pipes[pipe_cnt].pipe.src.dcc_rate = 3; in dcn35_populate_dml_pipes_from_context_fpu()
508 if (pipes[pipe_cnt].dout.dsc_enable) { in dcn35_populate_dml_pipes_from_context_fpu()
525 pipe_cnt++; in dcn35_populate_dml_pipes_from_context_fpu()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn351/
A Ddcn351_fpu.c474 int i, pipe_cnt; in dcn351_populate_dml_pipes_from_context_fpu() local
500 pipes[pipe_cnt].pipe.dest.vtotal = in dcn351_populate_dml_pipes_from_context_fpu()
503 pipes[pipe_cnt].pipe.dest.vactive; in dcn351_populate_dml_pipes_from_context_fpu()
506 pipes[pipe_cnt].pipe.dest.vblank_nom = timing->v_total - pipes[pipe_cnt].pipe.dest.vactive; in dcn351_populate_dml_pipes_from_context_fpu()
507 pipes[pipe_cnt].pipe.dest.vblank_nom = min(pipes[pipe_cnt].pipe.dest.vblank_nom, num_lines); in dcn351_populate_dml_pipes_from_context_fpu()
512 pipes[pipe_cnt].pipe.dest.vblank_nom = in dcn351_populate_dml_pipes_from_context_fpu()
514 …pipes[pipe_cnt].pipe.dest.vblank_nom = min(pipes[pipe_cnt].pipe.dest.vblank_nom, max_allowed_vblan… in dcn351_populate_dml_pipes_from_context_fpu()
538 pipes[pipe_cnt].pipe.src.dcc_rate = 3; in dcn351_populate_dml_pipes_from_context_fpu()
542 if (pipes[pipe_cnt].dout.dsc_enable) { in dcn351_populate_dml_pipes_from_context_fpu()
559 pipe_cnt++; in dcn351_populate_dml_pipes_from_context_fpu()
[all …]
/linux/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()
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
382 int pipe_cnt, in dcn30_fpu_calculate_wm_and_dlg() argument
410 context, pipes, pipe_cnt, vlevel); in dcn30_fpu_calculate_wm_and_dlg()
[all …]
A Ddcn30_fpu.h41 int pipe_cnt,
49 int pipe_cnt,
69 int pipe_cnt,
/linux/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()
415 int pipe_cnt, in dcn301_fpu_calculate_wm_and_dlg() argument
435 &context->bw_ctx.dml, pipes, pipe_cnt); in dcn301_fpu_calculate_wm_and_dlg()
440 &context->bw_ctx.dml, pipes, pipe_cnt); in dcn301_fpu_calculate_wm_and_dlg()
445 &context->bw_ctx.dml, pipes, pipe_cnt); in dcn301_fpu_calculate_wm_and_dlg()
451 &context->bw_ctx.dml, pipes, pipe_cnt); in dcn301_fpu_calculate_wm_and_dlg()
[all …]
A Ddcn301_fpu.h39 int pipe_cnt,
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
A Ddcn32_fpu.h37 int pipe_cnt);
44 unsigned int pipe_cnt,
56 int pipe_cnt,
64 int pipe_cnt,
70 int pipe_cnt);
A Ddcn32_fpu.c278 int pipe_cnt, in dcn32_find_dummy_latency_index_for_fw_based_mclk_switch() argument
336 int pipe_cnt) in dcn32_helper_populate_phantom_dlg_params() argument
471 unsigned int pipe_cnt, in dcn32_set_phantom_stream_timing() argument
1398 int pipe_cnt) in try_odm_power_optimization_and_revalidate() argument
1441 int *pipe_cnt, in dcn32_full_validate_bw_helper() argument
1797 pipe_cnt, pipe_idx); in dcn32_calculate_dlg_params()
2145 int pipe_cnt, i, pipe_idx; in dcn32_internal_validate_bw() local
2165 if (!pipe_cnt) { in dcn32_internal_validate_bw()
2285 *pipe_cnt_out = pipe_cnt; in dcn32_internal_validate_bw()
2300 int pipe_cnt, in dcn32_calculate_wm_and_dlg_fpu() argument
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/
A Ddcn31_fpu.c446 int pipe_cnt) in dcn31_zero_pipe_dcc_fraction() argument
450 pipes[pipe_cnt].pipe.src.dcc_fraction_of_zs_req_luma = 0; in dcn31_zero_pipe_dcc_fraction()
451 pipes[pipe_cnt].pipe.src.dcc_fraction_of_zs_req_chroma = 0; in dcn31_zero_pipe_dcc_fraction()
485 int pipe_cnt, in dcn31_calculate_wm_and_dlg_fp() argument
501 if (pipe_cnt == 0) { in dcn31_calculate_wm_and_dlg_fp()
511 get_wm_z8_stutter_enter_exit(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; in dcn31_calculate_wm_and_dlg_fp()
513 …if (get_stutter_period(&context->bw_ctx.dml, pipes, pipe_cnt) < dc->debug.minimum_z8_residency_tim… in dcn31_calculate_wm_and_dlg_fp()
523 …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()
544 …pes[pipe_idx].clks_cfg.dispclk_mhz = get_dispclk_calculated(&context->bw_ctx.dml, pipes, pipe_cnt); in dcn31_calculate_wm_and_dlg_fp()
559 dcn20_calculate_dlg_params(dc, context, pipes, pipe_cnt, vlevel); in dcn31_calculate_wm_and_dlg_fp()
[all …]
A Ddcn31_fpu.h36 int pipe_cnt);
44 int pipe_cnt,
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
A Ddcn32_resource_helpers.c318 uint8_t pipe_cnt = 0; in dcn32_determine_det_override() local
369 for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { in dcn32_determine_det_override()
373 pipe_cnt++; in dcn32_determine_det_override()
384 int i, pipe_cnt; in dcn32_set_det_allocations() local
389 for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { in dcn32_set_det_allocations()
395 pipe_cnt++; in dcn32_set_det_allocations()
402 if (pipe_cnt == 1) { in dcn32_set_det_allocations()
753 int i, pipe_cnt; in dcn32_update_dml_pipes_odm_policy_based_on_context() local
757 for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { in dcn32_update_dml_pipes_odm_policy_based_on_context()
766 pipes[pipe_cnt].pipe.dest.odm_combine_policy = dm_odm_combine_policy_dal; in dcn32_update_dml_pipes_odm_policy_based_on_context()
[all …]
A Ddcn32_resource.c1686 unsigned int pipe_cnt, in dcn32_enable_phantom_stream() argument
1713 unsigned int pipe_cnt, in dcn32_add_phantom_pipes() argument
1752 int pipe_cnt = 0; in dml1_validate() local
1772 if (pipe_cnt == 0) in dml1_validate()
1829 int i, pipe_cnt; in dcn32_populate_dml_pipes_from_context() local
1872 pipe_cnt++; in dcn32_populate_dml_pipes_from_context()
1883 pipes[pipe_cnt].pipe.src.gpuvm = true; in dcn32_populate_dml_pipes_from_context()
1947 if (pipes[pipe_cnt].dout.dsc_enable) { in dcn32_populate_dml_pipes_from_context()
1965 pipe_cnt++; in dcn32_populate_dml_pipes_from_context()
1982 return pipe_cnt; in dcn32_populate_dml_pipes_from_context()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/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.c1325 int i, pipe_cnt; in dcn30_populate_dml_pipes_from_context() local
1336 pipes[pipe_cnt++].pipe.scale_ratio_depth.lb_depth = in dcn30_populate_dml_pipes_from_context()
1340 return pipe_cnt; in dcn30_populate_dml_pipes_from_context()
1378 int pipe_cnt) in dcn30_set_mcif_arb_params() argument
1639 int pipe_cnt, i, pipe_idx, vlevel = 0; in dcn30_internal_validate_bw() local
1652 if (!pipe_cnt) { in dcn30_internal_validate_bw()
1657 dml_log_pipe_params(&context->bw_ctx.dml, pipes, pipe_cnt); in dcn30_internal_validate_bw()
1872 *pipe_cnt_out = pipe_cnt; in dcn30_internal_validate_bw()
2033 int pipe_cnt, in dcn30_calculate_wm_and_dlg() argument
2050 int pipe_cnt = 0; in dcn30_validate_bandwidth() local
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/
A Ddcn315_resource.c1670 int i, pipe_cnt, crb_idx, crb_pipes; in dcn315_populate_dml_pipes_from_context() local
1698 pipes[pipe_cnt].pipe.src.dcc_rate = 3; in dcn315_populate_dml_pipes_from_context()
1699 pipes[pipe_cnt].dout.dsc_input_bpc = 0; in dcn315_populate_dml_pipes_from_context()
1726 if (pipes[pipe_cnt].dout.dsc_enable) { in dcn315_populate_dml_pipes_from_context()
1729 pipes[pipe_cnt].dout.dsc_input_bpc = 8; in dcn315_populate_dml_pipes_from_context()
1742 pipe_cnt++; in dcn315_populate_dml_pipes_from_context()
1755 pipe_cnt++; in dcn315_populate_dml_pipes_from_context()
1774 pipes[pipe_cnt].pipe.src.det_size_override -= pipes[pipe_cnt].pipe.src.det_size_override % 2; in dcn315_populate_dml_pipes_from_context()
1781 pipe_cnt++; in dcn315_populate_dml_pipes_from_context()
1785 if (pipe_cnt) in dcn315_populate_dml_pipes_from_context()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/
A Ddcn31_resource.c1622 uint32_t pipe_cnt; in dcn31x_populate_dml_pipes_from_context() local
1629 for (i = 0; i < pipe_cnt; i++) { in dcn31x_populate_dml_pipes_from_context()
1639 return pipe_cnt; in dcn31x_populate_dml_pipes_from_context()
1647 int i, pipe_cnt; in dcn31_populate_dml_pipes_from_context() local
1675 pipes[pipe_cnt].pipe.src.gpuvm = true; in dcn31_populate_dml_pipes_from_context()
1701 pipe_cnt++; in dcn31_populate_dml_pipes_from_context()
1721 return pipe_cnt; in dcn31_populate_dml_pipes_from_context()
1727 int pipe_cnt, in dcn31_calculate_wm_and_dlg() argument
1749 int pipe_cnt) in dcn31_set_mcif_arb_params() argument
1765 int pipe_cnt = 0; in dcn31_validate_bandwidth() local
[all …]
A Ddcn31_resource.h46 int pipe_cnt,
60 int pipe_cnt);
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn316/
A Ddcn316_resource.c1616 int i, pipe_cnt; in dcn316_populate_dml_pipes_from_context() local
1642 pipes[pipe_cnt].pipe.src.dcc_rate = 3; in dcn316_populate_dml_pipes_from_context()
1643 pipes[pipe_cnt].dout.dsc_input_bpc = 0; in dcn316_populate_dml_pipes_from_context()
1645 dcn31_zero_pipe_dcc_fraction(pipes, pipe_cnt); in dcn316_populate_dml_pipes_from_context()
1648 if (pipes[pipe_cnt].dout.dsc_enable) { in dcn316_populate_dml_pipes_from_context()
1651 pipes[pipe_cnt].dout.dsc_input_bpc = 8; in dcn316_populate_dml_pipes_from_context()
1654 pipes[pipe_cnt].dout.dsc_input_bpc = 10; in dcn316_populate_dml_pipes_from_context()
1657 pipes[pipe_cnt].dout.dsc_input_bpc = 12; in dcn316_populate_dml_pipes_from_context()
1665 pipe_cnt++; in dcn316_populate_dml_pipes_from_context()
1668 if (pipe_cnt) in dcn316_populate_dml_pipes_from_context()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/inc/
A Dcore_types.h92 int pipe_cnt,
187 int pipe_cnt);
213 unsigned int pipe_cnt,
/linux/drivers/gpu/drm/amd/display/dc/dml/
A Ddisplay_mode_lib.h106 int pipe_cnt);
/linux/drivers/gpu/drm/amd/display/dc/dml2/
A Ddml2_utils.h122 …xt, struct resource_context *out_new_hw_state, struct dml2_context *in_ctx, unsigned int pipe_cnt);
/linux/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

Completed in 70 milliseconds

12