Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/sun4i/
Dsun4i_crtc.c53 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); in sun4i_crtc_atomic_check() local
54 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() local
70 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() local
94 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() local
118 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 …]
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()
/linux-6.12.1/drivers/gpu/drm/renesas/shmobile/
Dshmob_drm_crtc.c47 void shmob_drm_crtc_finish_page_flip(struct shmob_drm_crtc *scrtc) in shmob_drm_crtc_finish_page_flip() argument
50 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() argument
66 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 …]
Dshmob_drm_crtc.h40 void shmob_drm_crtc_finish_page_flip(struct shmob_drm_crtc *scrtc);