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()
339 format.format.width = drm_pipe->width; in vsp1_du_pipeline_setup_brx()
340 format.format.height = drm_pipe->height; in vsp1_du_pipeline_setup_brx()
352 if (format.format.width != drm_pipe->width || in vsp1_du_pipeline_setup_brx()
353 format.format.height != drm_pipe->height) { in vsp1_du_pipeline_setup_brx()
370 struct vsp1_drm_pipeline *drm_pipe = to_vsp1_drm_pipeline(pipe); in vsp1_du_pipeline_setup_inputs() local
434 uif = drm_pipe->crc.source == VSP1_DU_CRC_PLANE && in vsp1_du_pipeline_setup_inputs()
435 drm_pipe->crc.index == i ? drm_pipe->uif : NULL; in vsp1_du_pipeline_setup_inputs()
448 uif = drm_pipe->crc.source == VSP1_DU_CRC_OUTPUT ? drm_pipe->uif : NULL; in vsp1_du_pipeline_setup_inputs()
459 if (!drm_pipe->uif) in vsp1_du_pipeline_setup_inputs()
470 drm_pipe->uif->pipe = NULL; in vsp1_du_pipeline_setup_inputs()
471 } else if (!drm_pipe->uif->pipe) { in vsp1_du_pipeline_setup_inputs()
472 drm_pipe->uif->pipe = pipe; in vsp1_du_pipeline_setup_inputs()
473 list_add_tail(&drm_pipe->uif->list_pipe, &pipe->entities); in vsp1_du_pipeline_setup_inputs()
483 struct vsp1_drm_pipeline *drm_pipe = to_vsp1_drm_pipeline(pipe); in vsp1_du_pipeline_setup_output() local
489 format.format.width = drm_pipe->width; in vsp1_du_pipeline_setup_output()
490 format.format.height = drm_pipe->height; in vsp1_du_pipeline_setup_output()
527 if (format.format.width != drm_pipe->width || in vsp1_du_pipeline_setup_output()
528 format.format.height != drm_pipe->height || in vsp1_du_pipeline_setup_output()
541 struct vsp1_drm_pipeline *drm_pipe = to_vsp1_drm_pipeline(pipe); in vsp1_du_pipeline_configure() local
548 if (drm_pipe->force_brx_release) in vsp1_du_pipeline_configure()
647 struct vsp1_drm_pipeline *drm_pipe; in vsp1_du_setup_lif() local
656 drm_pipe = &vsp1->drm->pipe[pipe_index]; in vsp1_du_setup_lif()
657 pipe = &drm_pipe->pipe; in vsp1_du_setup_lif()
692 drm_pipe->du_complete = NULL; in vsp1_du_setup_lif()
713 drm_pipe->width = cfg->width; in vsp1_du_setup_lif()
714 drm_pipe->height = cfg->height; in vsp1_du_setup_lif()
741 drm_pipe->du_complete = cfg->callback; in vsp1_du_setup_lif()
742 drm_pipe->du_private = cfg->callback_data; in vsp1_du_setup_lif()
813 struct vsp1_drm_pipeline *drm_pipe = &vsp1->drm->pipe[pipe_index]; in vsp1_du_atomic_update() local
832 drm_pipe->pipe.inputs[rpf_index] = NULL; in vsp1_du_atomic_update()
865 drm_pipe->pipe.inputs[rpf_index] = rpf; in vsp1_du_atomic_update()
881 struct vsp1_drm_pipeline *drm_pipe = &vsp1->drm->pipe[pipe_index]; in vsp1_du_atomic_flush() local
882 struct vsp1_pipeline *pipe = &drm_pipe->pipe; in vsp1_du_atomic_flush()
885 drm_pipe->crc = cfg->crc; in vsp1_du_atomic_flush()
951 struct vsp1_drm_pipeline *drm_pipe = &vsp1->drm->pipe[i]; in vsp1_drm_init() local
952 struct vsp1_pipeline *pipe = &drm_pipe->pipe; in vsp1_drm_init()
954 init_waitqueue_head(&drm_pipe->wait_queue); in vsp1_drm_init()
980 drm_pipe->uif = &vsp1->uif[i]->entity; in vsp1_drm_init()