/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | dcn20_fpu.c | 989 display_e2e_pipe_params_st *pipes) in dcn20_populate_dml_writeback_from_context() argument 1002 pipes[pipe_cnt].dout.wb_enable = (wb_info->wb_enabled == true) ? 1 : 0; in dcn20_populate_dml_writeback_from_context() 1003 pipes[pipe_cnt].dout.num_active_wb++; in dcn20_populate_dml_writeback_from_context() 1004 pipes[pipe_cnt].dout.wb.wb_src_height = wb_info->dwb_params.cnv_params.crop_height; in dcn20_populate_dml_writeback_from_context() 1005 pipes[pipe_cnt].dout.wb.wb_src_width = wb_info->dwb_params.cnv_params.crop_width; in dcn20_populate_dml_writeback_from_context() 1006 pipes[pipe_cnt].dout.wb.wb_dst_width = wb_info->dwb_params.dest_width; in dcn20_populate_dml_writeback_from_context() 1007 pipes[pipe_cnt].dout.wb.wb_dst_height = wb_info->dwb_params.dest_height; in dcn20_populate_dml_writeback_from_context() 1008 pipes[pipe_cnt].dout.wb.wb_htaps_luma = 1; in dcn20_populate_dml_writeback_from_context() 1009 pipes[pipe_cnt].dout.wb.wb_vtaps_luma = 1; in dcn20_populate_dml_writeback_from_context() 1010 pipes[pipe_cnt].dout.wb.wb_htaps_chroma = wb_info->dwb_params.scaler_taps.h_taps_c; in dcn20_populate_dml_writeback_from_context() [all …]
|
D | dcn20_fpu.h | 33 display_e2e_pipe_params_st *pipes); 37 display_e2e_pipe_params_st *pipes, 41 display_e2e_pipe_params_st *pipes, 46 display_e2e_pipe_params_st *pipes, 50 display_e2e_pipe_params_st *pipes, 78 display_e2e_pipe_params_st *pipes, 89 display_e2e_pipe_params_st *pipes);
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn301/ |
D | dcn301_fpu.c | 296 display_e2e_pipe_params_st *pipes, in calculate_wm_set_for_vlevel() argument 303 pipes[0].clks_cfg.voltage = vlevel; in calculate_wm_set_for_vlevel() 304 pipes[0].clks_cfg.dcfclk_mhz = dml->soc.clock_limits[vlevel].dcfclk_mhz; in calculate_wm_set_for_vlevel() 305 pipes[0].clks_cfg.socclk_mhz = dml->soc.clock_limits[vlevel].socclk_mhz; in calculate_wm_set_for_vlevel() 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() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | dcn30_fpu.c | 258 struct dc *dc, struct resource_context *res_ctx, display_e2e_pipe_params_st *pipes) in dcn30_fpu_populate_dml_writeback_from_context() argument 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() 349 display_e2e_pipe_params_st *pipes, in dcn30_fpu_set_mcif_arb_params() argument 358 wb_arb_params->cli_watermark[i] = get_wm_writeback_urgent(dml, pipes, pipe_cnt) * 1000; in dcn30_fpu_set_mcif_arb_params() [all …]
|
D | dcn30_fpu.h | 36 struct dc *dc, struct resource_context *res_ctx, display_e2e_pipe_params_st *pipes); 40 display_e2e_pipe_params_st *pipes, 48 display_e2e_pipe_params_st *pipes, 68 display_e2e_pipe_params_st *pipes,
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | dcn314_fpu.c | 308 display_e2e_pipe_params_st *pipes, in dcn314_populate_dml_pipes_from_context_fpu() argument 319 dcn31x_populate_dml_pipes_from_context(dc, context, pipes, fast_validate); in dcn314_populate_dml_pipes_from_context_fpu() 334 pipes[pipe_cnt].pipe.dest.vtotal = pipe->stream->adjust.v_total_min; in dcn314_populate_dml_pipes_from_context_fpu() 336 pipes[pipe_cnt].pipe.dest.vtotal = timing->v_total; in dcn314_populate_dml_pipes_from_context_fpu() 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() 347 max(pipes[pipe_cnt].pipe.dest.vblank_nom, timing->v_sync_width + v_back_porch + 2); 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() 357 … pipes[i].pipe.src.hostvm = dc->vm_pa_config.is_hvm_enabled || dc->res_pool->hubbub->riommu_active; in dcn314_populate_dml_pipes_from_context_fpu() [all …]
|
/linux-6.6.21/drivers/gpu/drm/ci/xfails/ |
D | msm-apq8016-fails.txt | 3 kms_cursor_legacy@all-pipes-forked-bo,Fail 4 kms_cursor_legacy@all-pipes-forked-move,Fail 5 kms_cursor_legacy@all-pipes-single-bo,Fail 6 kms_cursor_legacy@all-pipes-single-move,Fail 7 kms_cursor_legacy@all-pipes-torture-bo,Fail 8 kms_cursor_legacy@all-pipes-torture-move,Fail
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | dcn32_fpu.h | 36 display_e2e_pipe_params_st *pipes, 46 display_e2e_pipe_params_st *pipes, 52 display_e2e_pipe_params_st *pipes, 58 display_e2e_pipe_params_st *pipes, 66 display_e2e_pipe_params_st *pipes, 72 void dcn32_zero_pipe_dcc_fraction(display_e2e_pipe_params_st *pipes,
|
D | dcn32_fpu.c | 264 display_e2e_pipe_params_st *pipes, in dcn32_find_dummy_latency_index_for_fw_based_mclk_switch() argument 280 dcn32_internal_validate_bw(dc, context, pipes, &pipe_cnt, &vlevel, false); in dcn32_find_dummy_latency_index_for_fw_based_mclk_switch() 322 display_e2e_pipe_params_st *pipes, in dcn32_helper_populate_phantom_dlg_params() argument 336 pipes[pipe_idx].pipe.dest.vstartup_start = in dcn32_helper_populate_phantom_dlg_params() 337 get_vstartup(&context->bw_ctx.dml, pipes, pipe_cnt, pipe_idx); in dcn32_helper_populate_phantom_dlg_params() 338 pipes[pipe_idx].pipe.dest.vupdate_offset = in dcn32_helper_populate_phantom_dlg_params() 339 get_vupdate_offset(&context->bw_ctx.dml, pipes, pipe_cnt, pipe_idx); in dcn32_helper_populate_phantom_dlg_params() 340 pipes[pipe_idx].pipe.dest.vupdate_width = in dcn32_helper_populate_phantom_dlg_params() 341 get_vupdate_width(&context->bw_ctx.dml, pipes, pipe_cnt, pipe_idx); in dcn32_helper_populate_phantom_dlg_params() 342 pipes[pipe_idx].pipe.dest.vready_offset = in dcn32_helper_populate_phantom_dlg_params() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_resource.h | 51 display_e2e_pipe_params_st *pipes, 64 display_e2e_pipe_params_st *pipes, 71 display_e2e_pipe_params_st *pipes, 76 struct dc *dc, struct resource_context *res_ctx, display_e2e_pipe_params_st *pipes); 80 display_e2e_pipe_params_st *pipes, 106 display_e2e_pipe_params_st *pipes, int pipe_cnt, int vlevel);
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | dcn31_fpu.c | 443 void dcn31_zero_pipe_dcc_fraction(display_e2e_pipe_params_st *pipes, 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() 482 display_e2e_pipe_params_st *pipes, in dcn31_calculate_wm_and_dlg_fp() argument 503 pipes[0].clks_cfg.voltage = vlevel; in dcn31_calculate_wm_and_dlg_fp() 504 pipes[0].clks_cfg.dcfclk_mhz = dcfclk; in dcn31_calculate_wm_and_dlg_fp() 505 pipes[0].clks_cfg.socclk_mhz = context->bw_ctx.dml.soc.clock_limits[vlevel].socclk_mhz; in dcn31_calculate_wm_and_dlg_fp() 513 …context->bw_ctx.bw.dcn.watermarks.a.urgent_ns = get_wm_urgent(&context->bw_ctx.dml, pipes, pipe_cn… 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() [all …]
|
D | dcn31_fpu.h | 34 void dcn31_zero_pipe_dcc_fraction(display_e2e_pipe_params_st *pipes, 42 display_e2e_pipe_params_st *pipes, 56 display_e2e_pipe_params_st *pipes,
|
/linux-6.6.21/sound/sparc/ |
D | dbri.c | 312 struct dbri_pipe pipes[DBRI_NO_PIPES]; /* DBRI's 32 data pipes */ member 769 dbri->pipes[n].desc = dbri->pipes[n].first_desc = -1; in dbri_initialize() 813 return ((pipe >= 0) && (dbri->pipes[pipe].desc != -1)); in pipe_active() 833 sdp = dbri->pipes[pipe].sdp; in reset_pipe() 846 desc = dbri->pipes[pipe].first_desc; in reset_pipe() 852 } while (desc != -1 && desc != dbri->pipes[pipe].first_desc); in reset_pipe() 854 dbri->pipes[pipe].desc = -1; in reset_pipe() 855 dbri->pipes[pipe].first_desc = -1; in reset_pipe() 882 dbri->pipes[pipe].sdp = sdp; in setup_pipe() 883 dbri->pipes[pipe].desc = -1; in setup_pipe() [all …]
|
/linux-6.6.21/drivers/platform/goldfish/ |
D | goldfish_pipe.c | 198 struct goldfish_pipe **pipes; member 522 pipe = dev->pipes[id]; in signalled_pipes_add_locked() 654 if (!dev->pipes[id]) in get_free_pipe_id_locked() 663 struct goldfish_pipe **pipes = in get_free_pipe_id_locked() local 664 kcalloc(new_capacity, sizeof(*pipes), GFP_ATOMIC); in get_free_pipe_id_locked() 665 if (!pipes) in get_free_pipe_id_locked() 667 memcpy(pipes, dev->pipes, sizeof(*pipes) * dev->pipes_capacity); in get_free_pipe_id_locked() 668 kfree(dev->pipes); in get_free_pipe_id_locked() 669 dev->pipes = pipes; in get_free_pipe_id_locked() 732 dev->pipes[id] = pipe; in goldfish_pipe_open() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_mode_vba.c | 46 const display_e2e_pipe_params_st *pipes, 54 const display_e2e_pipe_params_st *pipes, in dml_get_voltage_level() argument 60 || memcmp(pipes, mode_lib->vba.cache_pipes, in dml_get_voltage_level() 65 memcpy(mode_lib->vba.cache_pipes, pipes, sizeof(*pipes) * num_pipes); in dml_get_voltage_level() 68 if (need_recalculate && pipes[0].clks_cfg.dppclk_mhz != 0) in dml_get_voltage_level() 82 …attr(struct display_mode_lib *mode_lib, const display_e2e_pipe_params_st *pipes, unsigned int num_… 84 recalculate_params(mode_lib, pipes, num_pipes); \ 130 …attr(struct display_mode_lib *mode_lib, const display_e2e_pipe_params_st *pipes, unsigned int num_… 133 recalculate_params(mode_lib, pipes, num_pipes); \ 209 const display_e2e_pipe_params_st *pipes, in get_total_immediate_flip_bytes() argument [all …]
|
D | display_mode_lib.c | 162 display_e2e_pipe_params_st *pipes, in dml_log_pipe_params() argument 174 pipe_src = &(pipes[i].pipe.src); in dml_log_pipe_params() 175 pipe_dest = &(pipes[i].pipe.dest); in dml_log_pipe_params() 176 scale_ratio_depth = &(pipes[i].pipe.scale_ratio_depth); in dml_log_pipe_params() 177 scale_taps = &(pipes[i].pipe.scale_taps); in dml_log_pipe_params() 178 dout = &(pipes[i].dout); in dml_log_pipe_params() 179 clks_cfg = &(pipes[i].clks_cfg); in dml_log_pipe_params()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn31/ |
D | dcn31_resource.h | 45 display_e2e_pipe_params_st *pipes, 50 display_e2e_pipe_params_st *pipes, 55 display_e2e_pipe_params_st *pipes); 59 display_e2e_pipe_params_st *pipes,
|
/linux-6.6.21/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_event.c | 110 return (a->pipes[0] | a->pipes[1]) & in is_new_frame() 120 u64 evts_mask = evts->global | evts->pipes[0] | evts->pipes[1]; in komeda_print_events() 147 evt_str(&str, evts->pipes[0]); in komeda_print_events() 149 evt_str(&str, evts->pipes[1]); in komeda_print_events()
|
/linux-6.6.21/drivers/gpu/drm/tidss/ |
D | tidss_kms.c | 120 struct pipe pipes[TIDSS_MAX_PORTS]; in tidss_dispc_modeset_init() local 178 pipes[num_pipes].hw_videoport = i; in tidss_dispc_modeset_init() 179 pipes[num_pipes].bridge = bridge; in tidss_dispc_modeset_init() 180 pipes[num_pipes].enc_type = enc_type; in tidss_dispc_modeset_init() 205 tcrtc = tidss_crtc_create(tidss, pipes[i].hw_videoport, in tidss_dispc_modeset_init() 214 ret = tidss_encoder_create(tidss, pipes[i].bridge, in tidss_dispc_modeset_init() 215 pipes[i].enc_type, in tidss_dispc_modeset_init()
|
/linux-6.6.21/Documentation/gpu/amdgpu/display/ |
D | mpo-overview.rst | 50 For this hardware example, we have 4 pipes (if you don't know what AMD pipe 53 configuration for optimal single display output (e.g., 2 pipes per plane). 56 display - will see 4 pipes in use, 2 per plane. 204 the two displays, we need to use 2 pipes. See the example below where we avoid 207 - 1 display (1 pipe) + MPO (1 pipe), we will use two pipes 208 - 2 displays (2 pipes) + MPO (1-2 pipes); we will use 4 pipes. MPO in the 209 middle of both displays needs 2 pipes. 210 - 3 Displays (3 pipes) + MPO (1-2 pipes), we need 5 pipes. 217 * When ASIC has 3 pipes, AMD hardware can NOT support 2 displays with MPO 218 * When ASIC has 4 pipes, AMD hardware can NOT support 3 displays with MPO [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/protocols/ |
D | link_dp_irq_handler.c | 249 struct pipe_ctx *pipes[MAX_PIPES]; in dp_handle_link_loss() local 254 link_get_master_pipes_with_dpms_on(link, state, &count, pipes); in dp_handle_link_loss() 257 link_set_dpms_off(pipes[i]); in dp_handle_link_loss() 262 pipes[i]->link_config.dp_link_settings.lane_count = in dp_handle_link_loss() 264 pipes[i]->link_config.dp_link_settings.link_rate = in dp_handle_link_loss() 266 pipes[i]->link_config.dp_link_settings.link_spread = in dp_handle_link_loss() 269 link_set_dpms_on(link->dc->current_state, pipes[i]); in dp_handle_link_loss()
|
/linux-6.6.21/drivers/media/platform/nxp/imx8-isi/ |
D | imx8-isi-core.c | 151 struct mxc_isi_pipe *pipe = &isi->pipes[i]; in mxc_isi_v4l2_init() 235 mxc_isi_pipe_unregister(&isi->pipes[i]); in mxc_isi_v4l2_cleanup() 334 struct mxc_isi_pipe *pipe = &isi->pipes[i]; in mxc_isi_pm_suspend() 354 struct mxc_isi_pipe *pipe = &isi->pipes[i]; in mxc_isi_pm_resume() 443 isi->pipes = kcalloc(isi->pdata->num_channels, sizeof(isi->pipes[0]), in mxc_isi_probe() 445 if (!isi->pipes) in mxc_isi_probe() 519 struct mxc_isi_pipe *pipe = &isi->pipes[i]; in mxc_isi_remove()
|
/linux-6.6.21/drivers/gpu/drm/arm/display/komeda/d71/ |
D | d71_dev.c | 189 evts->pipes[0] |= KOMEDA_EVENT_FLIP; in d71_irq_handler() 191 evts->pipes[1] |= KOMEDA_EVENT_FLIP; in d71_irq_handler() 205 evts->pipes[0] |= get_pipeline_event(d71->pipes[0], gcu_status); in d71_irq_handler() 208 evts->pipes[1] |= get_pipeline_event(d71->pipes[1], gcu_status); in d71_irq_handler() 228 pipe = d71->pipes[i]; in d71_enable_irq() 247 pipe = d71->pipes[i]; in d71_disable_irq() 261 struct d71_pipeline *pipe = d71->pipes[master_pipe]; in d71_on_off_vblank() 435 d71->pipes[i] = to_d71_pipeline(pipe); in d71_enum_resources() 578 malidp_write32_mask(d71->pipes[i]->lpu_addr, LPU_TBU_CONTROL, in d71_connect_iommu()
|
/linux-6.6.21/net/nfc/nci/ |
D | hci.c | 116 hdev->pipes[i].gate = NCI_HCI_INVALID_GATE; in nci_hci_reset_pipes() 117 hdev->pipes[i].host = NCI_HCI_INVALID_HOST; in nci_hci_reset_pipes() 127 if (ndev->hci_dev->pipes[i].host == host) { in nci_hci_reset_pipes_per_host() 128 ndev->hci_dev->pipes[i].gate = NCI_HCI_INVALID_GATE; in nci_hci_reset_pipes_per_host() 129 ndev->hci_dev->pipes[i].host = NCI_HCI_INVALID_HOST; in nci_hci_reset_pipes_per_host() 284 u8 gate = ndev->hci_dev->pipes[pipe].gate; in nci_hci_cmd_received() 313 ndev->hci_dev->pipes[new_pipe].gate = dest_gate; in nci_hci_cmd_received() 314 ndev->hci_dev->pipes[new_pipe].host = in nci_hci_cmd_received() 335 ndev->hci_dev->pipes[delete_info->pipe].gate = in nci_hci_cmd_received() 337 ndev->hci_dev->pipes[delete_info->pipe].host = in nci_hci_cmd_received() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/accessories/ |
D | link_dp_cts.c | 83 struct pipe_ctx *pipes[MAX_PIPES]; in dp_retrain_link_dp_test() local 90 link_get_master_pipes_with_dpms_on(link, state, &count, pipes); in dp_retrain_link_dp_test() 93 link_set_dpms_off(pipes[i]); in dp_retrain_link_dp_test() 94 pipes[i]->link_config.dp_link_settings = *link_setting; in dp_retrain_link_dp_test() 98 pipes[i]); in dp_retrain_link_dp_test() 102 link_set_dpms_on(state, pipes[i]); in dp_retrain_link_dp_test() 136 struct pipe_ctx *pipes = link->dc->current_state->res_ctx.pipe_ctx; in dp_test_get_audio_test_data() local 137 struct pipe_ctx *pipe_ctx = &pipes[0]; in dp_test_get_audio_test_data() 664 struct pipe_ctx *pipes = link->dc->current_state->res_ctx.pipe_ctx; in dp_set_test_pattern() local 675 if (pipes[i].stream == NULL) in dp_set_test_pattern() [all …]
|