/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
A D | dcn20_fpu.c | 883 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 D | dcn20_fpu.h | 38 int pipe_cnt, int i); 42 int pipe_cnt,
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
A D | dcn30_fpu.c | 260 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 D | dcn30_fpu.h | 41 int pipe_cnt, 49 int pipe_cnt, 69 int pipe_cnt,
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
A D | dcn314_fpu.c | 285 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 D | dcn301_fpu.c | 297 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 D | dcn301_fpu.h | 40 int pipe_cnt,
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
A D | dcn32_fpu.h | 37 int pipe_cnt); 51 unsigned int pipe_cnt, 63 int pipe_cnt, 71 int pipe_cnt, 77 int pipe_cnt);
|
A D | dcn32_fpu.c | 256 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 D | dcn31_fpu.c | 444 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 D | dcn31_fpu.h | 35 int pipe_cnt); 43 int pipe_cnt,
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn32/ |
A D | dcn32_resource_helpers.c | 298 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 D | dcn32_resource.c | 1698 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 D | dcn30_resource.h | 52 int pipe_cnt); 72 int pipe_cnt, 106 display_e2e_pipe_params_st *pipes, int pipe_cnt, int vlevel);
|
A D | dcn30_resource.c | 1342 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 D | dcn31_resource.c | 1648 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 D | dcn31_resource.h | 46 int pipe_cnt, 60 int pipe_cnt);
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn316/ |
A D | dcn316_resource.c | 1648 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 D | dcn315_resource.c | 1646 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 D | core_types.h | 87 int pipe_cnt, 188 int pipe_cnt); 213 unsigned int pipe_cnt,
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/ |
A D | display_mode_lib.h | 107 int pipe_cnt);
|
A D | display_mode_lib.c | 164 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 D | r8a66597.h | 79 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 D | dcn21_resource.c | 819 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 D | dcn20_resource.h | 118 int pipe_cnt);
|