Lines Matching refs:crtc

39 	struct rcar_du_crtc *crtc = private;  in rcar_du_vsp_complete()  local
41 if (crtc->vblank_enable) in rcar_du_vsp_complete()
42 drm_crtc_handle_vblank(&crtc->crtc); in rcar_du_vsp_complete()
45 rcar_du_crtc_finish_page_flip(crtc); in rcar_du_vsp_complete()
47 rcar_du_writeback_complete(crtc); in rcar_du_vsp_complete()
49 drm_crtc_add_crc_entry(&crtc->crtc, false, 0, &crc); in rcar_du_vsp_complete()
52 void rcar_du_vsp_enable(struct rcar_du_crtc *crtc) in rcar_du_vsp_enable() argument
54 const struct drm_display_mode *mode = &crtc->crtc.state->adjusted_mode; in rcar_du_vsp_enable()
55 struct rcar_du_device *rcdu = crtc->dev; in rcar_du_vsp_enable()
61 .callback_data = crtc, in rcar_du_vsp_enable()
66 .crtc = &crtc->crtc, in rcar_du_vsp_enable()
83 state.hwindex = (crtc->index % 2) ? 2 : 0; in rcar_du_vsp_enable()
85 state.hwindex = crtc->index % 2; in rcar_du_vsp_enable()
87 __rcar_du_plane_setup(crtc->group, &state); in rcar_du_vsp_enable()
89 vsp1_du_setup_lif(crtc->vsp->vsp, crtc->vsp_pipe, &cfg); in rcar_du_vsp_enable()
92 void rcar_du_vsp_disable(struct rcar_du_crtc *crtc) in rcar_du_vsp_disable() argument
94 vsp1_du_setup_lif(crtc->vsp->vsp, crtc->vsp_pipe, NULL); in rcar_du_vsp_disable()
97 void rcar_du_vsp_atomic_begin(struct rcar_du_crtc *crtc) in rcar_du_vsp_atomic_begin() argument
99 vsp1_du_atomic_begin(crtc->vsp->vsp, crtc->vsp_pipe); in rcar_du_vsp_atomic_begin()
102 void rcar_du_vsp_atomic_flush(struct rcar_du_crtc *crtc) in rcar_du_vsp_atomic_flush() argument
107 state = to_rcar_crtc_state(crtc->crtc.state); in rcar_du_vsp_atomic_flush()
110 rcar_du_writeback_setup(crtc, &cfg.writeback); in rcar_du_vsp_atomic_flush()
112 vsp1_du_atomic_flush(crtc->vsp->vsp, crtc->vsp_pipe, &cfg); in rcar_du_vsp_atomic_flush()
223 struct rcar_du_crtc *crtc = to_rcar_crtc(state->state.crtc); in rcar_du_vsp_plane_setup() local
254 vsp1_du_atomic_update(plane->vsp->vsp, crtc->vsp_pipe, in rcar_du_vsp_plane_setup()
383 struct rcar_du_crtc *crtc = to_rcar_crtc(old_state->crtc); in rcar_du_vsp_plane_atomic_update() local
387 else if (old_state->crtc) in rcar_du_vsp_plane_atomic_update()
388 vsp1_du_atomic_update(rplane->vsp->vsp, crtc->vsp_pipe, in rcar_du_vsp_plane_atomic_update()