Home
last modified time | relevance | path

Searched refs:scrtc (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_crtc.c54 struct sunxi_engine *engine = scrtc->engine; in sun4i_crtc_atomic_check()
70 struct sunxi_engine *engine = scrtc->engine; in sun4i_crtc_atomic_begin()
77 scrtc->event = crtc->state->event; in sun4i_crtc_atomic_begin()
94 sunxi_engine_commit(scrtc->engine); in sun4i_crtc_atomic_flush()
196 struct sun4i_crtc *scrtc; in sun4i_crtc_init() local
201 scrtc = devm_kzalloc(drm->dev, sizeof(*scrtc), GFP_KERNEL); in sun4i_crtc_init()
202 if (!scrtc) in sun4i_crtc_init()
204 scrtc->engine = engine; in sun4i_crtc_init()
205 scrtc->tcon = tcon; in sun4i_crtc_init()
243 scrtc->crtc.port = of_graph_get_port_by_id(scrtc->tcon->dev->of_node, in sun4i_crtc_init()
[all …]
H A Dsun4i_tcon.c740 struct sun4i_crtc *scrtc) in sun4i_tcon_finish_page_flip() argument
745 if (scrtc->event) { in sun4i_tcon_finish_page_flip()
746 drm_crtc_send_vblank_event(&scrtc->crtc, scrtc->event); in sun4i_tcon_finish_page_flip()
747 drm_crtc_vblank_put(&scrtc->crtc); in sun4i_tcon_finish_page_flip()
748 scrtc->event = NULL; in sun4i_tcon_finish_page_flip()
757 struct sun4i_crtc *scrtc = tcon->crtc; in sun4i_tcon_handler() local
758 struct sunxi_engine *engine = scrtc->engine; in sun4i_tcon_handler()
768 drm_crtc_handle_vblank(&scrtc->crtc); in sun4i_tcon_handler()
769 sun4i_tcon_finish_page_flip(drm, scrtc); in sun4i_tcon_handler()
/openbmc/linux/drivers/gpu/drm/renesas/shmobile/
H A Dshmob_drm_crtc.c166 if (scrtc->started) in shmob_drm_crtc_start()
254 scrtc->started = true; in shmob_drm_crtc_start()
262 if (!scrtc->started) in shmob_drm_crtc_stop()
274 scrtc->started = false; in shmob_drm_crtc_stop()
298 bpp = scrtc->format->yuv ? 8 : scrtc->format->bpp; in shmob_drm_crtc_compute_base()
320 if (scrtc->format->yuv) in shmob_drm_crtc_update_base()
340 scrtc->dpms = mode; in shmob_drm_crtc_dpms()
365 scrtc->format = format; in shmob_drm_crtc_mode_set()
401 event = scrtc->event; in shmob_drm_crtc_finish_page_flip()
402 scrtc->event = NULL; in shmob_drm_crtc_finish_page_flip()
[all …]
H A Dshmob_drm_crtc.h47 void shmob_drm_crtc_finish_page_flip(struct shmob_drm_crtc *scrtc);
48 void shmob_drm_crtc_suspend(struct shmob_drm_crtc *scrtc);
49 void shmob_drm_crtc_resume(struct shmob_drm_crtc *scrtc);