/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | dcn20_fpu.c | 883 int pipe_cnt, i; in dcn20_populate_dml_writeback_from_context() local 887 for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { in dcn20_populate_dml_writeback_from_context() 894 pipes[pipe_cnt].dout.wb_enable = (wb_info->wb_enabled == true) ? 1 : 0; in dcn20_populate_dml_writeback_from_context() 895 pipes[pipe_cnt].dout.num_active_wb++; in dcn20_populate_dml_writeback_from_context() 896 pipes[pipe_cnt].dout.wb.wb_src_height = wb_info->dwb_params.cnv_params.crop_height; in dcn20_populate_dml_writeback_from_context() 897 pipes[pipe_cnt].dout.wb.wb_src_width = wb_info->dwb_params.cnv_params.crop_width; in dcn20_populate_dml_writeback_from_context() 898 pipes[pipe_cnt].dout.wb.wb_dst_width = wb_info->dwb_params.dest_width; in dcn20_populate_dml_writeback_from_context() 899 pipes[pipe_cnt].dout.wb.wb_dst_height = wb_info->dwb_params.dest_height; in dcn20_populate_dml_writeback_from_context() 900 pipes[pipe_cnt].dout.wb.wb_htaps_luma = 1; in dcn20_populate_dml_writeback_from_context() 901 pipes[pipe_cnt].dout.wb.wb_vtaps_luma = 1; in dcn20_populate_dml_writeback_from_context() [all …]
|
D | dcn20_fpu.h | 38 int pipe_cnt, int i); 42 int pipe_cnt,
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | dcn314_fpu.c | 287 int i, pipe_cnt; in dcn314_populate_dml_pipes_from_context_fpu() local 296 for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { in dcn314_populate_dml_pipes_from_context_fpu() 306 pipes[pipe_cnt].pipe.dest.vtotal = pipe->stream->adjust.v_total_min; in dcn314_populate_dml_pipes_from_context_fpu() 318 pipes[pipe_cnt].pipe.src.immediate_flip = true; in dcn314_populate_dml_pipes_from_context_fpu() 320 pipes[pipe_cnt].pipe.src.unbounded_req_mode = false; in dcn314_populate_dml_pipes_from_context_fpu() 321 pipes[pipe_cnt].pipe.src.hostvm = dc->res_pool->hubbub->riommu_active; in dcn314_populate_dml_pipes_from_context_fpu() 322 pipes[pipe_cnt].pipe.src.gpuvm = true; in dcn314_populate_dml_pipes_from_context_fpu() 323 pipes[pipe_cnt].pipe.src.dcc_fraction_of_zs_req_luma = 0; in dcn314_populate_dml_pipes_from_context_fpu() 324 pipes[pipe_cnt].pipe.src.dcc_fraction_of_zs_req_chroma = 0; in dcn314_populate_dml_pipes_from_context_fpu() 325 pipes[pipe_cnt].pipe.dest.vfront_porch = timing->v_front_porch; in dcn314_populate_dml_pipes_from_context_fpu() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | dcn30_fpu.c | 260 int pipe_cnt, i, j; in dcn30_fpu_populate_dml_writeback_from_context() local 267 for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { in dcn30_fpu_populate_dml_writeback_from_context() 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() 326 pipes[pipe_cnt].pipe.dest.pixel_rate_mhz, 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() [all …]
|
D | dcn30_fpu.h | 41 int pipe_cnt, 49 int pipe_cnt, 69 int pipe_cnt,
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn301/ |
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() 312 …wm_set->cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter_exit(dml, pipes, pipe_cnt) … 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() 314 wm_set->cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(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() 316 wm_set->frac_urg_bw_nom = get_fraction_of_urgent_bandwidth(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel() 317 wm_set->frac_urg_bw_flip = get_fraction_of_urgent_bandwidth_imm_flip(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 [all …]
|
D | dcn301_fpu.h | 40 int pipe_cnt,
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
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);
|
D | dcn32_fpu.c | 255 int pipe_cnt, in dcn32_find_dummy_latency_index_for_fw_based_mclk_switch() argument 267 dcn32_internal_validate_bw(dc, context, pipes, &pipe_cnt, &vlevel, false); in dcn32_find_dummy_latency_index_for_fw_based_mclk_switch() 305 int pipe_cnt) in dcn32_helper_populate_phantom_dlg_params() argument 319 get_vstartup(&context->bw_ctx.dml, pipes, pipe_cnt, pipe_idx); in dcn32_helper_populate_phantom_dlg_params() 321 get_vupdate_offset(&context->bw_ctx.dml, pipes, pipe_cnt, pipe_idx); in dcn32_helper_populate_phantom_dlg_params() 323 get_vupdate_width(&context->bw_ctx.dml, pipes, pipe_cnt, pipe_idx); in dcn32_helper_populate_phantom_dlg_params() 325 get_vready_offset(&context->bw_ctx.dml, pipes, pipe_cnt, pipe_idx); in dcn32_helper_populate_phantom_dlg_params() 528 unsigned int pipe_cnt, in dcn32_set_phantom_stream_timing() argument 571 …phantom_vactive = get_subviewport_lines_needed_in_mall(&context->bw_ctx.dml, pipes, pipe_cnt, pipe… in dcn32_set_phantom_stream_timing() 580 phantom_bp = get_vstartup(&context->bw_ctx.dml, pipes, pipe_cnt, pipe_idx); in dcn32_set_phantom_stream_timing() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
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() 514 …state_enter_plus_exit_ns = get_wm_stutter_enter_exit(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; in dcn31_calculate_wm_and_dlg_fp() 515 …a.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; in dcn31_calculate_wm_and_dlg_fp() 516 …e_pstate.pstate_change_ns = get_wm_dram_clock_change(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; in dcn31_calculate_wm_and_dlg_fp() 517 …enter_plus_exit_z8_ns = get_wm_z8_stutter_enter_exit(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; in dcn31_calculate_wm_and_dlg_fp() [all …]
|
D | dcn31_fpu.h | 35 int pipe_cnt); 43 int pipe_cnt,
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_resource.h | 52 int pipe_cnt); 71 int pipe_cnt, 105 display_e2e_pipe_params_st *pipes, int pipe_cnt, int vlevel);
|
D | dcn30_resource.c | 1335 int i, pipe_cnt; in dcn30_populate_dml_pipes_from_context() local 1342 for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { in dcn30_populate_dml_pipes_from_context() 1346 pipes[pipe_cnt++].pipe.scale_ratio_depth.lb_depth = in dcn30_populate_dml_pipes_from_context() 1350 return pipe_cnt; in dcn30_populate_dml_pipes_from_context() 1388 int pipe_cnt) in dcn30_set_mcif_arb_params() argument 1418 dcn30_fpu_set_mcif_arb_params(wb_arb_params, dml, pipes, pipe_cnt, j); in dcn30_set_mcif_arb_params() 1651 int pipe_cnt, i, pipe_idx, vlevel; in dcn30_internal_validate_bw() local 1662 pipe_cnt = dc->res_pool->funcs->populate_dml_pipes(dc, context, pipes, fast_validate); in dcn30_internal_validate_bw() 1664 if (!pipe_cnt) { in dcn30_internal_validate_bw() 1669 dml_log_pipe_params(&context->bw_ctx.dml, pipes, pipe_cnt); in dcn30_internal_validate_bw() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_resource_helpers.c | 287 uint8_t pipe_cnt = 0; in dcn32_determine_det_override() local 337 for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { in dcn32_determine_det_override() 340 pipes[pipe_cnt].pipe.src.det_size_override = pipe_segments[i] * DCN3_2_DET_SEG_SIZE; in dcn32_determine_det_override() 341 pipe_cnt++; in dcn32_determine_det_override() 352 int i, pipe_cnt; in dcn32_set_det_allocations() local 356 for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { in dcn32_set_det_allocations() 362 pipe_cnt++; in dcn32_set_det_allocations() 369 if (pipe_cnt == 1) { in dcn32_set_det_allocations()
|
D | dcn32_resource.c | 1696 unsigned int pipe_cnt, in dcn32_enable_phantom_stream() argument 1715 …dcn32_set_phantom_stream_timing(dc, context, ref_pipe, phantom_stream, pipes, pipe_cnt, dc_pipe_id… in dcn32_enable_phantom_stream() 1768 unsigned int pipe_cnt, in dcn32_add_phantom_pipes() argument 1777 phantom_stream = dcn32_enable_phantom_stream(dc, context, pipes, pipe_cnt, index); in dcn32_add_phantom_pipes() 1806 int pipe_cnt = 0; in dcn32_validate_bandwidth() local 1835 out = dcn32_internal_validate_bw(dc, context, pipes, &pipe_cnt, &vlevel, fast_validate); in dcn32_validate_bandwidth() 1841 if (pipe_cnt == 0) in dcn32_validate_bandwidth() 1854 dc->res_pool->funcs->calculate_wm_and_dlg(dc, context, pipes, pipe_cnt, vlevel); in dcn32_validate_bandwidth() 1880 int i, pipe_cnt; in dcn32_populate_dml_pipes_from_context() local 1896 for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { in dcn32_populate_dml_pipes_from_context() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/ |
D | dcn31_resource.c | 1642 int i, pipe_cnt; in dcn31_populate_dml_pipes_from_context() local 1651 for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { in dcn31_populate_dml_pipes_from_context() 1668 pipes[pipe_cnt].pipe.src.immediate_flip = true; in dcn31_populate_dml_pipes_from_context() 1669 pipes[pipe_cnt].pipe.src.unbounded_req_mode = false; in dcn31_populate_dml_pipes_from_context() 1670 pipes[pipe_cnt].pipe.src.gpuvm = true; in dcn31_populate_dml_pipes_from_context() 1671 pipes[pipe_cnt].pipe.dest.vfront_porch = timing->v_front_porch; in dcn31_populate_dml_pipes_from_context() 1672 pipes[pipe_cnt].pipe.src.dcc_rate = 3; in dcn31_populate_dml_pipes_from_context() 1673 pipes[pipe_cnt].dout.dsc_input_bpc = 0; in dcn31_populate_dml_pipes_from_context() 1675 dcn31_zero_pipe_dcc_fraction(pipes, pipe_cnt); in dcn31_populate_dml_pipes_from_context() 1679 pipes[pipe_cnt].pipe.src.hostvm = dc->res_pool->hubbub->riommu_active; in dcn31_populate_dml_pipes_from_context() [all …]
|
D | dcn31_resource.h | 46 int pipe_cnt, 60 int pipe_cnt);
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn315/ |
D | dcn315_resource.c | 1640 int i, pipe_cnt; in dcn315_populate_dml_pipes_from_context() local 1649 for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { in dcn315_populate_dml_pipes_from_context() 1662 pipes[pipe_cnt].pipe.src.immediate_flip = true; in dcn315_populate_dml_pipes_from_context() 1664 pipes[pipe_cnt].pipe.src.unbounded_req_mode = false; in dcn315_populate_dml_pipes_from_context() 1665 pipes[pipe_cnt].pipe.src.gpuvm = true; in dcn315_populate_dml_pipes_from_context() 1666 pipes[pipe_cnt].pipe.dest.vfront_porch = timing->v_front_porch; in dcn315_populate_dml_pipes_from_context() 1667 pipes[pipe_cnt].pipe.src.dcc_rate = 3; in dcn315_populate_dml_pipes_from_context() 1668 pipes[pipe_cnt].dout.dsc_input_bpc = 0; in dcn315_populate_dml_pipes_from_context() 1670 dcn31_zero_pipe_dcc_fraction(pipes, pipe_cnt); in dcn315_populate_dml_pipes_from_context() 1673 if (pipes[pipe_cnt].dout.dsc_enable) { in dcn315_populate_dml_pipes_from_context() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn316/ |
D | dcn316_resource.c | 1643 int i, pipe_cnt; in dcn316_populate_dml_pipes_from_context() local 1652 for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { in dcn316_populate_dml_pipes_from_context() 1665 pipes[pipe_cnt].pipe.src.immediate_flip = true; in dcn316_populate_dml_pipes_from_context() 1667 pipes[pipe_cnt].pipe.src.unbounded_req_mode = false; in dcn316_populate_dml_pipes_from_context() 1668 pipes[pipe_cnt].pipe.src.gpuvm = true; in dcn316_populate_dml_pipes_from_context() 1669 pipes[pipe_cnt].pipe.dest.vfront_porch = timing->v_front_porch; in dcn316_populate_dml_pipes_from_context() 1670 pipes[pipe_cnt].pipe.src.dcc_rate = 3; in dcn316_populate_dml_pipes_from_context() 1671 pipes[pipe_cnt].dout.dsc_input_bpc = 0; in dcn316_populate_dml_pipes_from_context() 1673 dcn31_zero_pipe_dcc_fraction(pipes, pipe_cnt); in dcn316_populate_dml_pipes_from_context() 1676 if (pipes[pipe_cnt].dout.dsc_enable) { in dcn316_populate_dml_pipes_from_context() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 114 int pipe_cnt, 208 int pipe_cnt); 233 unsigned int pipe_cnt,
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_mode_lib.h | 106 int pipe_cnt);
|
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.1.9/drivers/usb/host/ |
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.1.9/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_resource.c | 818 int pipe_cnt, i, pipe_idx, vlevel; in dcn21_fast_validate_bw() local 827 pipe_cnt = dc->res_pool->funcs->populate_dml_pipes(dc, context, pipes, fast_validate); in dcn21_fast_validate_bw() 830 *pipe_cnt_out = pipe_cnt; in dcn21_fast_validate_bw() 832 if (!pipe_cnt) { in dcn21_fast_validate_bw() 843 vlevel = dml_get_voltage_level(&context->bw_ctx.dml, pipes, pipe_cnt); in dcn21_fast_validate_bw() 855 vlevel = dml_get_voltage_level(&context->bw_ctx.dml, pipes, pipe_cnt); in dcn21_fast_validate_bw()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_resource.h | 118 int pipe_cnt);
|