/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_hwseq.c | 1231 static void dcn20_detect_pipe_changes(struct pipe_ctx *old_pipe, struct pipe_ctx *new_pipe) in dcn20_detect_pipe_changes() argument 1233 new_pipe->update_flags.raw = 0; in dcn20_detect_pipe_changes() 1236 if (!old_pipe->plane_state && !new_pipe->plane_state) in dcn20_detect_pipe_changes() 1239 if (!old_pipe->plane_state && new_pipe->plane_state) { in dcn20_detect_pipe_changes() 1240 new_pipe->update_flags.bits.enable = 1; in dcn20_detect_pipe_changes() 1241 new_pipe->update_flags.bits.mpcc = 1; in dcn20_detect_pipe_changes() 1242 new_pipe->update_flags.bits.dppclk = 1; in dcn20_detect_pipe_changes() 1243 new_pipe->update_flags.bits.hubp_interdependent = 1; in dcn20_detect_pipe_changes() 1244 new_pipe->update_flags.bits.hubp_rq_dlg_ttu = 1; in dcn20_detect_pipe_changes() 1245 new_pipe in dcn20_detect_pipe_changes() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_hwseq.c | 1318 static void dcn20_detect_pipe_changes(struct pipe_ctx *old_pipe, struct pipe_ctx *new_pipe) in dcn20_detect_pipe_changes() argument 1320 new_pipe->update_flags.raw = 0; in dcn20_detect_pipe_changes() 1330 new_pipe->plane_state && new_pipe->plane_state->is_phantom) { in dcn20_detect_pipe_changes() 1331 new_pipe->update_flags.bits.disable = 1; in dcn20_detect_pipe_changes() 1336 if (!old_pipe->plane_state && !new_pipe->plane_state) in dcn20_detect_pipe_changes() 1339 if (!old_pipe->plane_state && new_pipe->plane_state) { in dcn20_detect_pipe_changes() 1340 new_pipe->update_flags.bits.enable = 1; in dcn20_detect_pipe_changes() 1341 new_pipe->update_flags.bits.mpcc = 1; in dcn20_detect_pipe_changes() 1342 new_pipe in dcn20_detect_pipe_changes() [all...] |
/kernel/linux/linux-5.10/net/nfc/nci/ |
H A D | hci.c | 287 u8 dest_gate, new_pipe; in nci_hci_cmd_received() local 302 new_pipe = create_info->pipe; in nci_hci_cmd_received() 303 if (new_pipe >= NCI_HCI_MAX_PIPES) { in nci_hci_cmd_received() 313 ndev->hci_dev->gate2pipe[dest_gate] = new_pipe; in nci_hci_cmd_received() 314 ndev->hci_dev->pipes[new_pipe].gate = dest_gate; in nci_hci_cmd_received() 315 ndev->hci_dev->pipes[new_pipe].host = in nci_hci_cmd_received()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_hwseq.c | 1483 struct pipe_ctx *new_pipe = &context->res_ctx.pipe_ctx[i]; in dcn32_enable_phantom_streams() local 1485 if (new_pipe->stream && new_pipe->stream->mall_stream_config.type == SUBVP_PHANTOM) { in dcn32_enable_phantom_streams() 1630 const struct pipe_ctx *cur_pipe, *new_pipe; in dcn32_is_pipe_topology_transition_seamless() local 1635 new_pipe = &new_ctx->res_ctx.pipe_ctx[i]; in dcn32_is_pipe_topology_transition_seamless() 1638 resource_is_pipe_type(new_pipe, FREE_PIPE)) in dcn32_is_pipe_topology_transition_seamless() 1642 if (resource_is_pipe_type(new_pipe, OTG_MASTER)) in dcn32_is_pipe_topology_transition_seamless() 1643 if (cur_pipe->stream->stream_id == new_pipe->stream->stream_id) in dcn32_is_pipe_topology_transition_seamless() 1647 if (resource_is_pipe_type(new_pipe, OPP_HEAD)) { in dcn32_is_pipe_topology_transition_seamless() 1648 if (cur_pipe->stream_res.tg == new_pipe in dcn32_is_pipe_topology_transition_seamless() [all...] |
/kernel/linux/linux-6.6/drivers/media/mc/ |
H A D | mc-entity.c | 949 struct media_pipeline *new_pipe = NULL; in media_pipeline_alloc_start() local 961 new_pipe = kzalloc(sizeof(*new_pipe), GFP_KERNEL); in media_pipeline_alloc_start() 962 if (!new_pipe) { in media_pipeline_alloc_start() 967 pipe = new_pipe; in media_pipeline_alloc_start() 973 kfree(new_pipe); in media_pipeline_alloc_start()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_resource.c | 1624 struct pipe_ctx *new_pipe; in resource_find_free_pipe_used_in_cur_mpc_blending_tree() local 1632 new_pipe = &new_res_ctx->pipe_ctx[cur_sec_dpp->pipe_idx]; in resource_find_free_pipe_used_in_cur_mpc_blending_tree() 1633 if (resource_is_pipe_type(new_pipe, FREE_PIPE)) { in resource_find_free_pipe_used_in_cur_mpc_blending_tree() 1649 const struct pipe_ctx *new_pipe, *cur_pipe; in recource_find_free_pipe_not_used_in_cur_res_ctx() local 1654 new_pipe = &new_res_ctx->pipe_ctx[i]; in recource_find_free_pipe_not_used_in_cur_res_ctx() 1657 resource_is_pipe_type(new_pipe, FREE_PIPE)) { in recource_find_free_pipe_not_used_in_cur_res_ctx() 1672 const struct pipe_ctx *new_pipe, *cur_pipe; in resource_find_free_pipe_used_as_cur_sec_dpp_in_mpcc_combine() local 1677 new_pipe = &new_res_ctx->pipe_ctx[i]; in resource_find_free_pipe_used_as_cur_sec_dpp_in_mpcc_combine() 1682 resource_is_pipe_type(new_pipe, FREE_PIPE)) { in resource_find_free_pipe_used_as_cur_sec_dpp_in_mpcc_combine() 1695 const struct pipe_ctx *new_pipe; in resource_find_any_free_pipe() local [all...] |
H A D | dc.c | 1139 struct pipe_ctx *old_pipe, *new_pipe; in disable_dangling_plane() local 1142 new_pipe = &context->res_ctx.pipe_ctx[i]; in disable_dangling_plane() 1144 if (old_pipe->plane_state && !new_pipe->plane_state) in disable_dangling_plane() 4442 struct pipe_ctx *new_pipe = &context->res_ctx.pipe_ctx[i]; in dc_commit_updates_for_stream() local 4445 if (new_pipe->plane_state && new_pipe->plane_state != old_pipe->plane_state) in dc_commit_updates_for_stream() 4446 new_pipe->plane_state->force_full_update = true; in dc_commit_updates_for_stream()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_hw_sequencer.c | 2788 struct pipe_ctx *new_pipe; in dcn10_disconnect_pipes() local 2794 new_pipe = &context->res_ctx.pipe_ctx[i]; in dcn10_disconnect_pipes() 2795 new_pipe->update_flags.raw = 0; in dcn10_disconnect_pipes() 2797 if (!old_pipe->plane_state && !new_pipe->plane_state) in dcn10_disconnect_pipes() 2800 if (old_pipe->plane_state && !new_pipe->plane_state) in dcn10_disconnect_pipes() 2801 new_pipe->update_flags.bits.disable = 1; in dcn10_disconnect_pipes() 2804 if (memcmp(&old_pipe->plane_res.scl_data, &new_pipe->plane_res.scl_data, sizeof(struct scaler_data))) in dcn10_disconnect_pipes() 2805 new_pipe->update_flags.bits.scaler = 1; in dcn10_disconnect_pipes() 2808 if (memcmp(&old_pipe->plane_res.scl_data.viewport, &new_pipe->plane_res.scl_data.viewport, sizeof(struct rect)) in dcn10_disconnect_pipes() 2810 &new_pipe in dcn10_disconnect_pipes() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc.c | 2700 struct pipe_ctx *new_pipe = &context->res_ctx.pipe_ctx[i]; in dc_commit_updates_for_stream() local 2703 if (new_pipe->plane_state && new_pipe->plane_state != old_pipe->plane_state) in dc_commit_updates_for_stream() 2704 new_pipe->plane_state->force_full_update = true; in dc_commit_updates_for_stream()
|