/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn35/ |
H A D | dcn35_hwseq.c | 1065 struct pipe_ctx *new_pipe = &context->res_ctx.pipe_ctx[i]; in dcn35_calc_blocks_to_gate() 1067 if (cur_pipe == NULL || new_pipe == NULL) in dcn35_calc_blocks_to_gate() 1070 if ((!cur_pipe->plane_state && new_pipe->plane_state) || in dcn35_calc_blocks_to_gate() 1071 (!cur_pipe->stream && new_pipe->stream) || in dcn35_calc_blocks_to_gate() 1072 (cur_pipe->stream != new_pipe->stream && new_pipe->stream)) { in dcn35_calc_blocks_to_gate() 1075 if (j == PG_HUBP && new_pipe->plane_res.hubp) in dcn35_calc_blocks_to_gate() 1076 update_state->pg_pipe_res_update[j][new_pipe->plane_res.hubp->inst] = true; in dcn35_calc_blocks_to_gate() 1078 if (j == PG_DPP && new_pipe->plane_res.dpp) in dcn35_calc_blocks_to_gate() 1079 update_state->pg_pipe_res_update[j][new_pipe in dcn35_calc_blocks_to_gate() 1109 struct pipe_ctx *new_pipe = &context->res_ctx.pipe_ctx[i]; dcn35_calc_blocks_to_ungate() local [all...] |
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
H A D | dcn20_hwseq.c | 1469 struct pipe_ctx *new_pipe) in dcn20_detect_pipe_changes() 1472 bool new_is_phantom = dc_state_get_pipe_subvp_type(new_state, new_pipe) == SUBVP_PHANTOM; in dcn20_detect_pipe_changes() 1474 new_pipe->update_flags.raw = 0; in dcn20_detect_pipe_changes() 1484 new_pipe->plane_state && new_is_phantom) { in dcn20_detect_pipe_changes() 1485 new_pipe->update_flags.bits.disable = 1; in dcn20_detect_pipe_changes() 1489 if (resource_is_pipe_type(new_pipe, OTG_MASTER) && in dcn20_detect_pipe_changes() 1490 resource_is_odm_topology_changed(new_pipe, old_pipe)) in dcn20_detect_pipe_changes() 1492 new_pipe->update_flags.bits.odm = 1; in dcn20_detect_pipe_changes() 1495 if (!old_pipe->plane_state && !new_pipe->plane_state) in dcn20_detect_pipe_changes() 1498 if (!old_pipe->plane_state && new_pipe in dcn20_detect_pipe_changes() 1467 dcn20_detect_pipe_changes(struct dc_state * old_state,struct dc_state * new_state,struct pipe_ctx * old_pipe,struct pipe_ctx * new_pipe) dcn20_detect_pipe_changes() argument [all...] |
/linux/net/nfc/nci/ |
H A D | hci.c | 286 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/core/ |
H A D | dc_resource.c | 1722 struct pipe_ctx *new_pipe; 1726 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() 1727 if (resource_is_pipe_type(new_pipe, FREE_PIPE)) { in resource_find_free_pipe_used_as_sec_opp_head_by_cur_otg_master() 1743 struct pipe_ctx *new_pipe; 1751 new_pipe = &new_res_ctx->pipe_ctx[cur_sec_dpp->pipe_idx]; in resource_find_free_pipe_used_in_cur_mpc_blending_tree() 1752 if (resource_is_pipe_type(new_pipe, FREE_PIPE)) { in resource_find_free_pipe_used_in_cur_mpc_blending_tree() 1768 const struct pipe_ctx *new_pipe, *cur_pipe; 1773 new_pipe = &new_res_ctx->pipe_ctx[i]; in recource_find_free_pipe_not_used_in_cur_res_ctx() 1776 resource_is_pipe_type(new_pipe, FREE_PIPE)) { in recource_find_free_pipe_not_used_in_cur_res_ctx() 1791 const struct pipe_ctx *new_pipe, *cur_pip in recource_find_free_pipe_not_used_in_cur_res_ctx() 1729 struct pipe_ctx *new_pipe; resource_find_free_pipe_used_as_sec_opp_head_by_cur_otg_master() local 1750 struct pipe_ctx *new_pipe; resource_find_free_pipe_used_in_cur_mpc_blending_tree() local 1775 const struct pipe_ctx *new_pipe, *cur_pipe; recource_find_free_pipe_not_used_in_cur_res_ctx() local 1798 const struct pipe_ctx *new_pipe, *cur_pipe; recource_find_free_pipe_used_as_otg_master_in_cur_res_ctx() local 1821 const struct pipe_ctx *new_pipe, *cur_pipe; resource_find_free_pipe_used_as_cur_sec_dpp() local 1845 const struct pipe_ctx *new_pipe, *cur_pipe; resource_find_free_pipe_used_as_cur_sec_dpp_in_mpcc_combine() local 1868 const struct pipe_ctx *new_pipe; resource_find_any_free_pipe() local [all...] |
H A D | dc.c | 1215 struct pipe_ctx *old_pipe, *new_pipe; in disable_dangling_plane() local 1218 new_pipe = &context->res_ctx.pipe_ctx[i]; in disable_dangling_plane() 1220 if (old_pipe->plane_state && !new_pipe->plane_state) in disable_dangling_plane() 4779 struct pipe_ctx *new_pipe = &context->res_ctx.pipe_ctx[i]; in full_update_required() 4782 if (new_pipe->plane_state && new_pipe->plane_state != old_pipe->plane_state) in full_update_required() 4783 new_pipe->plane_state->force_full_update = true; in full_update_required() 4845 struct pipe_ctx *new_pipe = &context->res_ctx.pipe_ctx[i]; update_planes_and_stream_v1() local
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
H A D | dcn32_hwseq.c | 1741 const struct pipe_ctx *new_pipe) in dcn32_is_pipe_topology_transition_seamless() 1744 enum mall_stream_type new_pipe_type = dc_state_get_pipe_subvp_type(new_ctx, new_pipe); in dcn32_is_pipe_topology_transition_seamless() 1747 const struct dc_stream_state *new_paired_stream = dc_state_get_paired_subvp_stream(new_ctx, new_pipe->stream); in dcn32_is_pipe_topology_transition_seamless() 1760 const struct pipe_ctx *cur_pipe, *new_pipe; in dcn32_is_pipe_topology_transition_seamless() 1765 new_pipe = &new_ctx->res_ctx.pipe_ctx[i]; in dcn32_is_pipe_topology_transition_seamless() 1768 resource_is_pipe_type(new_pipe, FREE_PIPE)) in dcn32_is_pipe_topology_transition_seamless() 1772 if (resource_is_pipe_type(new_pipe, OTG_MASTER)) in dcn32_prepare_bandwidth() 1773 if (cur_pipe->stream->stream_id == new_pipe->stream->stream_id || in dcn32_prepare_bandwidth() 1774 is_subvp_phantom_topology_transition_seamless(cur_ctx, new_ctx, cur_pipe, new_pipe)) in dcn32_prepare_bandwidth() 1778 if (resource_is_pipe_type(new_pipe, OPP_HEA in dcn32_prepare_bandwidth() 1725 const struct pipe_ctx *cur_pipe, *new_pipe; dcn32_is_pipe_topology_transition_seamless() local [all...] |
/linux/drivers/media/mc/ |
H A D | mc-entity.c | 968 struct media_pipeline *new_pipe = NULL; in media_pipeline_alloc_start() local 980 new_pipe = kzalloc(sizeof(*new_pipe), GFP_KERNEL); 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/dcn401/ |
H A D | dcn401_hwseq.c | 1547 struct pipe_ctx *new_pipe; in update_dsc_for_odm_change() 1573 new_pipe = &context->res_ctx.pipe_ctx[old_pipe->pipe_idx]; in update_dsc_for_odm_change() 1574 if (old_pipe->stream_res.dsc && !new_pipe->stream_res.dsc) in update_dsc_for_odm_change() 1543 struct pipe_ctx *new_pipe; update_dsc_for_odm_change() local
|