Lines Matching full:inputs
130 crop = &vsp1->drm->inputs[rpf->entity.index].crop; in vsp1_du_pipeline_setup_rpf()
209 sel.r = vsp1->drm->inputs[rpf->entity.index].compose; in vsp1_du_pipeline_setup_rpf()
240 * - If we need more than two inputs, use the BRU. in vsp1_du_pipeline_setup_brx()
363 return vsp1->drm->inputs[rpf->entity.index].zpos; in rpf_zpos()
371 struct vsp1_rwpf *inputs[VSP1_MAX_RPF] = { NULL, }; in vsp1_du_pipeline_setup_inputs() local
378 /* Count the number of enabled inputs and sort them by Z-order. */ in vsp1_du_pipeline_setup_inputs()
385 if (!pipe->inputs[i]) in vsp1_du_pipeline_setup_inputs()
390 if (rpf_zpos(vsp1, inputs[j-1]) <= rpf_zpos(vsp1, rpf)) in vsp1_du_pipeline_setup_inputs()
392 inputs[j] = inputs[j-1]; in vsp1_du_pipeline_setup_inputs()
395 inputs[j] = rpf; in vsp1_du_pipeline_setup_inputs()
414 struct vsp1_rwpf *rpf = inputs[i]; in vsp1_du_pipeline_setup_inputs()
417 brx->inputs[i].rpf = NULL; in vsp1_du_pipeline_setup_inputs()
426 brx->inputs[i].rpf = rpf; in vsp1_du_pipeline_setup_inputs()
674 for (i = 0; i < ARRAY_SIZE(pipe->inputs); ++i) { in vsp1_du_setup_lif()
675 struct vsp1_rwpf *rpf = pipe->inputs[i]; in vsp1_du_setup_lif()
682 * inputs. in vsp1_du_setup_lif()
687 pipe->inputs[i] = NULL; in vsp1_du_setup_lif()
689 brx->inputs[rpf->brx_input].rpf = NULL; in vsp1_du_setup_lif()
827 * Remove the RPF from the pipeline's inputs. Keep it in the in vsp1_du_atomic_update()
832 drm_pipe->pipe.inputs[rpf_index] = NULL; in vsp1_du_atomic_update()
861 vsp1->drm->inputs[rpf_index].crop = cfg->src; in vsp1_du_atomic_update()
862 vsp1->drm->inputs[rpf_index].compose = cfg->dst; in vsp1_du_atomic_update()
863 vsp1->drm->inputs[rpf_index].zpos = cfg->zpos; in vsp1_du_atomic_update()
865 drm_pipe->pipe.inputs[rpf_index] = rpf; in vsp1_du_atomic_update()