Searched refs:scrtc (Results 1 – 4 of 4) sorted by relevance
53 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); in sun4i_crtc_atomic_check() local54 struct sunxi_engine *engine = scrtc->engine; in sun4i_crtc_atomic_check()68 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); in sun4i_crtc_atomic_begin() local70 struct sunxi_engine *engine = scrtc->engine; in sun4i_crtc_atomic_begin()77 scrtc->event = crtc->state->event; in sun4i_crtc_atomic_begin()89 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); in sun4i_crtc_atomic_flush() local94 sunxi_engine_commit(scrtc->engine, crtc, state); in sun4i_crtc_atomic_flush()112 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); in sun4i_crtc_atomic_disable() local118 sun4i_tcon_set_status(scrtc->tcon, encoder, false); in sun4i_crtc_atomic_disable()133 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); in sun4i_crtc_atomic_enable() local[all …]
740 struct sun4i_crtc *scrtc) in sun4i_tcon_finish_page_flip() argument745 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() local758 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()
47 void shmob_drm_crtc_finish_page_flip(struct shmob_drm_crtc *scrtc) in shmob_drm_crtc_finish_page_flip() argument50 struct drm_device *dev = scrtc->base.dev; in shmob_drm_crtc_finish_page_flip()54 event = scrtc->event; in shmob_drm_crtc_finish_page_flip()55 scrtc->event = NULL; in shmob_drm_crtc_finish_page_flip()57 drm_crtc_send_vblank_event(&scrtc->base, event); in shmob_drm_crtc_finish_page_flip()58 wake_up(&scrtc->flip_wait); in shmob_drm_crtc_finish_page_flip()59 drm_crtc_vblank_put(&scrtc->base); in shmob_drm_crtc_finish_page_flip()64 static bool shmob_drm_crtc_page_flip_pending(struct shmob_drm_crtc *scrtc) in shmob_drm_crtc_page_flip_pending() argument66 struct drm_device *dev = scrtc->base.dev; in shmob_drm_crtc_page_flip_pending()71 pending = scrtc->event != NULL; in shmob_drm_crtc_page_flip_pending()[all …]
40 void shmob_drm_crtc_finish_page_flip(struct shmob_drm_crtc *scrtc);