/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dml/dcn2x/ |
D | dcn2x.c | 68 int pipe_cnt, i; in dcn20_populate_dml_writeback_from_context() local 72 for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { in dcn20_populate_dml_writeback_from_context() 79 pipes[pipe_cnt].dout.wb_enable = (wb_info->wb_enabled == true) ? 1 : 0; in dcn20_populate_dml_writeback_from_context() 80 pipes[pipe_cnt].dout.num_active_wb++; in dcn20_populate_dml_writeback_from_context() 81 pipes[pipe_cnt].dout.wb.wb_src_height = wb_info->dwb_params.cnv_params.crop_height; in dcn20_populate_dml_writeback_from_context() 82 pipes[pipe_cnt].dout.wb.wb_src_width = wb_info->dwb_params.cnv_params.crop_width; in dcn20_populate_dml_writeback_from_context() 83 pipes[pipe_cnt].dout.wb.wb_dst_width = wb_info->dwb_params.dest_width; in dcn20_populate_dml_writeback_from_context() 84 pipes[pipe_cnt].dout.wb.wb_dst_height = wb_info->dwb_params.dest_height; in dcn20_populate_dml_writeback_from_context() 85 pipes[pipe_cnt].dout.wb.wb_htaps_luma = 1; in dcn20_populate_dml_writeback_from_context() 86 pipes[pipe_cnt].dout.wb.wb_vtaps_luma = 1; in dcn20_populate_dml_writeback_from_context() [all …]
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_resource.c | 1985 int pipe_cnt, i; in dcn20_populate_dml_pipes_from_context() local 1989 for (i = 0, pipe_cnt = -1; i < dc->res_pool->pipe_count; i++) { in dcn20_populate_dml_pipes_from_context() 1993 if (pipe_cnt < 0) { in dcn20_populate_dml_pipes_from_context() 1994 pipe_cnt = i; in dcn20_populate_dml_pipes_from_context() 1998 if (res_ctx->pipe_ctx[pipe_cnt].stream == res_ctx->pipe_ctx[i].stream) in dcn20_populate_dml_pipes_from_context() 2003 res_ctx->pipe_ctx[pipe_cnt].stream, in dcn20_populate_dml_pipes_from_context() 2006 res_ctx->pipe_ctx[pipe_cnt].stream, in dcn20_populate_dml_pipes_from_context() 2013 for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { in dcn20_populate_dml_pipes_from_context() 2031 pipes[pipe_cnt].clks_cfg.refclk_mhz = dc->res_pool->ref_clocks.dchub_ref_clock_inKhz / 1000.0; in dcn20_populate_dml_pipes_from_context() 2033 pipes[pipe_cnt].dout.dsc_enable = res_ctx->pipe_ctx[i].stream->timing.flags.DSC; in dcn20_populate_dml_pipes_from_context() [all …]
|
D | dcn20_resource.h | 120 int pipe_cnt); 164 int pipe_cnt,
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn31/ |
D | dcn31_resource.c | 1579 int i, pipe_cnt; in dcn31_populate_dml_pipes_from_context() local 1585 for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { in dcn31_populate_dml_pipes_from_context() 1598 pipes[pipe_cnt].pipe.src.immediate_flip = true; in dcn31_populate_dml_pipes_from_context() 1600 pipes[pipe_cnt].pipe.src.unbounded_req_mode = false; in dcn31_populate_dml_pipes_from_context() 1601 pipes[pipe_cnt].pipe.src.gpuvm = true; in dcn31_populate_dml_pipes_from_context() 1602 pipes[pipe_cnt].pipe.src.dcc_fraction_of_zs_req_luma = 0; in dcn31_populate_dml_pipes_from_context() 1603 pipes[pipe_cnt].pipe.src.dcc_fraction_of_zs_req_chroma = 0; in dcn31_populate_dml_pipes_from_context() 1604 pipes[pipe_cnt].pipe.dest.vfront_porch = timing->v_front_porch; in dcn31_populate_dml_pipes_from_context() 1605 pipes[pipe_cnt].pipe.src.dcc_rate = 3; in dcn31_populate_dml_pipes_from_context() 1606 pipes[pipe_cnt].dout.dsc_input_bpc = 0; in dcn31_populate_dml_pipes_from_context() [all …]
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_resource.c | 1460 int i, pipe_cnt; in dcn30_populate_dml_pipes_from_context() local 1465 for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { in dcn30_populate_dml_pipes_from_context() 1469 pipes[pipe_cnt++].pipe.scale_ratio_depth.lb_depth = in dcn30_populate_dml_pipes_from_context() 1473 return pipe_cnt; in dcn30_populate_dml_pipes_from_context() 1479 int pipe_cnt, i, j; in dcn30_populate_dml_writeback_from_context() local 1484 for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { in dcn30_populate_dml_writeback_from_context() 1492 pipes[pipe_cnt].dout.wb_enable = 0; in dcn30_populate_dml_writeback_from_context() 1493 pipes[pipe_cnt].dout.num_active_wb = 0; in dcn30_populate_dml_writeback_from_context() 1499 pipes[pipe_cnt].dout.wb_enable = 1; in dcn30_populate_dml_writeback_from_context() 1500 pipes[pipe_cnt].dout.num_active_wb++; in dcn30_populate_dml_writeback_from_context() [all …]
|
D | dcn30_resource.h | 49 int pipe_cnt); 61 int pipe_cnt,
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_resource.c | 1040 int pipe_cnt) in calculate_wm_set_for_vlevel() argument 1054 wm_set->urgent_ns = get_wm_urgent(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel() 1055 …wm_set->cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter_exit(dml, pipes, pipe_cnt) … in calculate_wm_set_for_vlevel() 1056 wm_set->cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel() 1057 wm_set->cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel() 1058 wm_set->pte_meta_urgent_ns = get_wm_memory_trip(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel() 1059 wm_set->frac_urg_bw_nom = get_fraction_of_urgent_bandwidth(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel() 1060 wm_set->frac_urg_bw_flip = get_fraction_of_urgent_bandwidth_imm_flip(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel() 1061 wm_set->urgent_latency_ns = get_urgent_latency(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel() 1104 int pipe_cnt, i, pipe_idx; in dcn21_calculate_wm() local [all …]
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_mode_lib.h | 87 int pipe_cnt);
|
D | display_mode_lib.c | 138 int pipe_cnt) in dml_log_pipe_params() argument 148 for (i = 0; i < pipe_cnt; i++) { in dml_log_pipe_params()
|
/Linux-v5.15/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
|
D | r8a66597-hcd.c | 689 if (r8a66597->pipe_cnt[min] > r8a66597->pipe_cnt[array[i]]) in get_empty_pipenum() 806 r8a66597->pipe_cnt[pipe->info.pipenum]++; in enable_r8a66597_pipe() 807 dev->pipe_cnt[pipe->info.pipenum]++; in enable_r8a66597_pipe() 868 if (!dev->pipe_cnt[pipenum]) in disable_r8a66597_pipe_all() 876 r8a66597->pipe_cnt[pipenum] -= dev->pipe_cnt[pipenum]; in disable_r8a66597_pipe_all() 877 dev->pipe_cnt[pipenum] = 0; in disable_r8a66597_pipe_all()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 111 int pipe_cnt, 178 int pipe_cnt);
|