Home
last modified time | relevance | path

Searched refs:new_pipe (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn35/
H A Ddcn35_hwseq.c1033 struct pipe_ctx *new_pipe = &context->res_ctx.pipe_ctx[i]; in dcn35_calc_blocks_to_ungate() local
1035 if (cur_pipe == NULL || new_pipe == NULL) in dcn35_calc_blocks_to_ungate()
1038 if ((!cur_pipe->plane_state && new_pipe->plane_state) || in dcn35_calc_blocks_to_ungate()
1039 (!cur_pipe->stream && new_pipe->stream) || in dcn35_calc_blocks_to_ungate()
1040 (cur_pipe->stream != new_pipe->stream && new_pipe->stream)) { in dcn35_calc_blocks_to_ungate()
1043 if (j == PG_HUBP && new_pipe->plane_res.hubp) in dcn35_calc_blocks_to_ungate()
1044 update_state->pg_pipe_res_update[j][new_pipe->plane_res.hubp->inst] = true; in dcn35_calc_blocks_to_ungate()
1046 if (j == PG_DPP && new_pipe->plane_res.dpp) in dcn35_calc_blocks_to_ungate()
1047 update_state->pg_pipe_res_update[j][new_pipe->plane_res.dpp->inst] = true; in dcn35_calc_blocks_to_ungate()
1049 if (j == PG_MPCC && new_pipe->plane_res.dpp) in dcn35_calc_blocks_to_ungate()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
H A Ddcn20_hwseq.c1479 struct pipe_ctx *new_pipe) in dcn20_detect_pipe_changes() argument
1482 bool new_is_phantom = dc_state_get_pipe_subvp_type(new_state, new_pipe) == SUBVP_PHANTOM; in dcn20_detect_pipe_changes()
1484 new_pipe->update_flags.raw = 0; in dcn20_detect_pipe_changes()
1494 new_pipe->plane_state && new_is_phantom) { in dcn20_detect_pipe_changes()
1495 new_pipe->update_flags.bits.disable = 1; in dcn20_detect_pipe_changes()
1499 if (resource_is_pipe_type(new_pipe, OTG_MASTER) && in dcn20_detect_pipe_changes()
1500 resource_is_odm_topology_changed(new_pipe, old_pipe)) in dcn20_detect_pipe_changes()
1502 new_pipe->update_flags.bits.odm = 1; in dcn20_detect_pipe_changes()
1505 if (!old_pipe->plane_state && !new_pipe->plane_state) in dcn20_detect_pipe_changes()
1508 if (!old_pipe->plane_state && new_pipe->plane_state) { in dcn20_detect_pipe_changes()
[all …]
H A Ddcn20_hwseq.h161 struct pipe_ctx *new_pipe);
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c1534 struct pipe_ctx *new_pipe; in update_dsc_for_odm_change() local
1560 new_pipe = &context->res_ctx.pipe_ctx[old_pipe->pipe_idx]; in update_dsc_for_odm_change()
1561 if (old_pipe->stream_res.dsc && !new_pipe->stream_res.dsc) in update_dsc_for_odm_change()
1617 struct pipe_ctx *new_pipe; in dcn401_add_dsc_sequence_for_odm_change() local
1694 new_pipe = &context->res_ctx.pipe_ctx[old_pipe->pipe_idx]; in dcn401_add_dsc_sequence_for_odm_change()
1697 if (old_pipe->stream_res.dsc && !new_pipe->stream_res.dsc) { in dcn401_add_dsc_sequence_for_odm_change()
2747 struct pipe_ctx *new_pipe) in dcn401_detect_pipe_changes() argument
2750 bool new_is_phantom = dc_state_get_pipe_subvp_type(new_state, new_pipe) == SUBVP_PHANTOM; in dcn401_detect_pipe_changes()
2753 unsigned int new_pipe_vready_offset_pixels = new_pipe->global_sync.dcn4x.vready_offset_pixels; in dcn401_detect_pipe_changes()
2755 unsigned int new_pipe_vstartup_lines = new_pipe->global_sync.dcn4x.vstartup_lines; in dcn401_detect_pipe_changes()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
H A Ddcn35_clk_mgr.c200 struct pipe_ctx *new_pipe = &context->res_ctx.pipe_ctx[i]; in dcn35_disable_otg_wa() local
206 struct link_encoder *new_pipe_link_enc = new_pipe->link_res.dio_link_enc; in dcn35_disable_otg_wa()
215 if (new_pipe->stream) in dcn35_disable_otg_wa()
216 new_pipe_link_enc = new_pipe->stream->link_enc; in dcn35_disable_otg_wa()
221 stream_changed_otg_dig_on = old_pipe->stream && new_pipe->stream && in dcn35_disable_otg_wa()
222 old_pipe->stream != new_pipe->stream && in dcn35_disable_otg_wa()
223 old_pipe->stream_res.tg == new_pipe->stream_res.tg && in dcn35_disable_otg_wa()
224 new_pipe_link_enc && !new_pipe->stream->dpms_off && in dcn35_disable_otg_wa()
228 new_pipe->stream_res.stream_enc && in dcn35_disable_otg_wa()
229 new_pipe->stream_res.stream_enc->funcs->is_fifo_enabled && in dcn35_disable_otg_wa()
[all …]
/linux/net/nfc/nci/
H A Dhci.c286 u8 dest_gate, new_pipe; in nci_hci_cmd_received() local
301 new_pipe = create_info->pipe; in nci_hci_cmd_received()
302 if (new_pipe >= NCI_HCI_MAX_PIPES) { in nci_hci_cmd_received()
312 ndev->hci_dev->gate2pipe[dest_gate] = new_pipe; 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()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
H A Ddcn32_hwseq.c1729 const struct pipe_ctx *new_pipe) in is_subvp_phantom_topology_transition_seamless() argument
1732 enum mall_stream_type new_pipe_type = dc_state_get_pipe_subvp_type(new_ctx, new_pipe); in is_subvp_phantom_topology_transition_seamless()
1735 …t dc_stream_state *new_paired_stream = dc_state_get_paired_subvp_stream(new_ctx, new_pipe->stream); in is_subvp_phantom_topology_transition_seamless()
1748 const struct pipe_ctx *cur_pipe, *new_pipe; in dcn32_is_pipe_topology_transition_seamless() local
1753 new_pipe = &new_ctx->res_ctx.pipe_ctx[i]; in dcn32_is_pipe_topology_transition_seamless()
1756 resource_is_pipe_type(new_pipe, FREE_PIPE)) in dcn32_is_pipe_topology_transition_seamless()
1760 if (resource_is_pipe_type(new_pipe, OTG_MASTER)) in dcn32_is_pipe_topology_transition_seamless()
1761 if (cur_pipe->stream->stream_id == new_pipe->stream->stream_id || in dcn32_is_pipe_topology_transition_seamless()
1762 is_subvp_phantom_topology_transition_seamless(cur_ctx, new_ctx, cur_pipe, new_pipe)) in dcn32_is_pipe_topology_transition_seamless()
1766 if (resource_is_pipe_type(new_pipe, OPP_HEAD)) { in dcn32_is_pipe_topology_transition_seamless()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c1822 struct pipe_ctx *new_pipe; in resource_find_free_pipe_used_as_sec_opp_head_by_cur_otg_master() local
1826 new_pipe = &new_res_ctx->pipe_ctx[cur_sec_opp_head->pipe_idx]; in resource_find_free_pipe_used_as_sec_opp_head_by_cur_otg_master()
1827 if (resource_is_pipe_type(new_pipe, FREE_PIPE)) { in resource_find_free_pipe_used_as_sec_opp_head_by_cur_otg_master()
1843 struct pipe_ctx *new_pipe; in resource_find_free_pipe_used_in_cur_mpc_blending_tree() local
1851 new_pipe = &new_res_ctx->pipe_ctx[cur_sec_dpp->pipe_idx]; in resource_find_free_pipe_used_in_cur_mpc_blending_tree()
1852 if (resource_is_pipe_type(new_pipe, FREE_PIPE)) { in resource_find_free_pipe_used_in_cur_mpc_blending_tree()
1868 const struct pipe_ctx *new_pipe, *cur_pipe; in recource_find_free_pipe_not_used_in_cur_res_ctx() local
1873 new_pipe = &new_res_ctx->pipe_ctx[i]; in recource_find_free_pipe_not_used_in_cur_res_ctx()
1876 resource_is_pipe_type(new_pipe, FREE_PIPE)) { in recource_find_free_pipe_not_used_in_cur_res_ctx()
1891 const struct pipe_ctx *new_pipe, *cur_pipe; in recource_find_free_pipe_used_as_otg_master_in_cur_res_ctx() local
[all …]
H A Ddc.c1363 struct pipe_ctx *old_pipe, *new_pipe; in disable_dangling_plane() local
1366 new_pipe = &context->res_ctx.pipe_ctx[i]; in disable_dangling_plane()
1368 if (old_pipe->plane_state && !new_pipe->plane_state) in disable_dangling_plane()
/linux/drivers/media/mc/
H A Dmc-entity.c968 struct media_pipeline *new_pipe = NULL; in media_pipeline_alloc_start() local
980 new_pipe = kzalloc_obj(*new_pipe); in media_pipeline_alloc_start()
981 if (!new_pipe) { in media_pipeline_alloc_start()
986 pipe = new_pipe; in media_pipeline_alloc_start()
992 kfree(new_pipe); in media_pipeline_alloc_start()
/linux/drivers/gpu/drm/amd/display/dc/hwss/
H A Dhw_sequencer.h1268 struct pipe_ctx *new_pipe);