Lines Matching refs:drm_pipe

36 	struct vsp1_drm_pipeline *drm_pipe = to_vsp1_drm_pipeline(pipe);  in vsp1_du_pipeline_frame_end()  local
38 if (drm_pipe->du_complete) { in vsp1_du_pipeline_frame_end()
39 struct vsp1_entity *uif = drm_pipe->uif; in vsp1_du_pipeline_frame_end()
46 drm_pipe->du_complete(drm_pipe->du_private, status, crc); in vsp1_du_pipeline_frame_end()
50 drm_pipe->force_brx_release = false; in vsp1_du_pipeline_frame_end()
51 wake_up(&drm_pipe->wait_queue); in vsp1_du_pipeline_frame_end()
231 struct vsp1_drm_pipeline *drm_pipe = to_vsp1_drm_pipeline(pipe); in vsp1_du_pipeline_setup_brx() local
246 else if (pipe->brx && !drm_pipe->force_brx_release) in vsp1_du_pipeline_setup_brx()
343 format.format.width = drm_pipe->width; in vsp1_du_pipeline_setup_brx()
344 format.format.height = drm_pipe->height; in vsp1_du_pipeline_setup_brx()
356 if (format.format.width != drm_pipe->width || in vsp1_du_pipeline_setup_brx()
357 format.format.height != drm_pipe->height) { in vsp1_du_pipeline_setup_brx()
374 struct vsp1_drm_pipeline *drm_pipe = to_vsp1_drm_pipeline(pipe); in vsp1_du_pipeline_setup_inputs() local
438 uif = drm_pipe->crc.source == VSP1_DU_CRC_PLANE && in vsp1_du_pipeline_setup_inputs()
439 drm_pipe->crc.index == i ? drm_pipe->uif : NULL; in vsp1_du_pipeline_setup_inputs()
452 uif = drm_pipe->crc.source == VSP1_DU_CRC_OUTPUT ? drm_pipe->uif : NULL; in vsp1_du_pipeline_setup_inputs()
463 if (!drm_pipe->uif) in vsp1_du_pipeline_setup_inputs()
474 drm_pipe->uif->pipe = NULL; in vsp1_du_pipeline_setup_inputs()
475 } else if (!drm_pipe->uif->pipe) { in vsp1_du_pipeline_setup_inputs()
476 drm_pipe->uif->pipe = pipe; in vsp1_du_pipeline_setup_inputs()
477 list_add_tail(&drm_pipe->uif->list_pipe, &pipe->entities); in vsp1_du_pipeline_setup_inputs()
487 struct vsp1_drm_pipeline *drm_pipe = to_vsp1_drm_pipeline(pipe); in vsp1_du_pipeline_setup_output() local
494 format.format.width = drm_pipe->width; in vsp1_du_pipeline_setup_output()
495 format.format.height = drm_pipe->height; in vsp1_du_pipeline_setup_output()
532 if (format.format.width != drm_pipe->width || in vsp1_du_pipeline_setup_output()
533 format.format.height != drm_pipe->height || in vsp1_du_pipeline_setup_output()
546 struct vsp1_drm_pipeline *drm_pipe = to_vsp1_drm_pipeline(pipe); in vsp1_du_pipeline_configure() local
554 drm_pipe->width, 0); in vsp1_du_pipeline_configure()
556 if (drm_pipe->force_brx_release) in vsp1_du_pipeline_configure()
657 struct vsp1_drm_pipeline *drm_pipe; in vsp1_du_setup_lif() local
666 drm_pipe = &vsp1->drm->pipe[pipe_index]; in vsp1_du_setup_lif()
667 pipe = &drm_pipe->pipe; in vsp1_du_setup_lif()
702 drm_pipe->du_complete = NULL; in vsp1_du_setup_lif()
726 drm_pipe->width = cfg->width; in vsp1_du_setup_lif()
727 drm_pipe->height = cfg->height; in vsp1_du_setup_lif()
756 drm_pipe->du_complete = cfg->callback; in vsp1_du_setup_lif()
757 drm_pipe->du_private = cfg->callback_data; in vsp1_du_setup_lif()
828 struct vsp1_drm_pipeline *drm_pipe = &vsp1->drm->pipe[pipe_index]; in vsp1_du_atomic_update() local
847 drm_pipe->pipe.inputs[rpf_index] = NULL; in vsp1_du_atomic_update()
880 drm_pipe->pipe.inputs[rpf_index] = rpf; in vsp1_du_atomic_update()
896 struct vsp1_drm_pipeline *drm_pipe = &vsp1->drm->pipe[pipe_index]; in vsp1_du_atomic_flush() local
897 struct vsp1_pipeline *pipe = &drm_pipe->pipe; in vsp1_du_atomic_flush()
900 drm_pipe->crc = cfg->crc; in vsp1_du_atomic_flush()
969 struct vsp1_drm_pipeline *drm_pipe = &vsp1->drm->pipe[i]; in vsp1_drm_init() local
970 struct vsp1_pipeline *pipe = &drm_pipe->pipe; in vsp1_drm_init()
972 init_waitqueue_head(&drm_pipe->wait_queue); in vsp1_drm_init()
977 pipe->part_table = &drm_pipe->partition; in vsp1_drm_init()
1001 drm_pipe->uif = &vsp1->uif[i]->entity; in vsp1_drm_init()