Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/sun4i/
Dsun4i_crtc.c50 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); in sun4i_crtc_atomic_check() local
51 struct sunxi_engine *engine = scrtc->engine; in sun4i_crtc_atomic_check()
63 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); in sun4i_crtc_atomic_begin() local
65 struct sunxi_engine *engine = scrtc->engine; in sun4i_crtc_atomic_begin()
72 scrtc->event = crtc->state->event; in sun4i_crtc_atomic_begin()
84 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); in sun4i_crtc_atomic_flush() local
89 sunxi_engine_commit(scrtc->engine); in sun4i_crtc_atomic_flush()
107 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); in sun4i_crtc_atomic_disable() local
113 sun4i_tcon_set_status(scrtc->tcon, encoder, false); in sun4i_crtc_atomic_disable()
128 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); in sun4i_crtc_atomic_enable() local
[all …]
Dsun4i_tcon.c702 struct sun4i_crtc *scrtc) in sun4i_tcon_finish_page_flip() argument
707 if (scrtc->event) { in sun4i_tcon_finish_page_flip()
708 drm_crtc_send_vblank_event(&scrtc->crtc, scrtc->event); in sun4i_tcon_finish_page_flip()
709 drm_crtc_vblank_put(&scrtc->crtc); in sun4i_tcon_finish_page_flip()
710 scrtc->event = NULL; in sun4i_tcon_finish_page_flip()
719 struct sun4i_crtc *scrtc = tcon->crtc; in sun4i_tcon_handler() local
720 struct sunxi_engine *engine = scrtc->engine; in sun4i_tcon_handler()
730 drm_crtc_handle_vblank(&scrtc->crtc); in sun4i_tcon_handler()
731 sun4i_tcon_finish_page_flip(drm, scrtc); in sun4i_tcon_handler()
/Linux-v5.4/drivers/gpu/drm/shmobile/
Dshmob_drm_crtc.c60 static void shmob_drm_crtc_setup_geometry(struct shmob_drm_crtc *scrtc) in shmob_drm_crtc_setup_geometry() argument
62 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_setup_geometry()
118 static void shmob_drm_crtc_start_stop(struct shmob_drm_crtc *scrtc, bool start) in shmob_drm_crtc_start_stop() argument
120 struct shmob_drm_device *sdev = scrtc->crtc.dev->dev_private; in shmob_drm_crtc_start_stop()
151 static void shmob_drm_crtc_start(struct shmob_drm_crtc *scrtc) in shmob_drm_crtc_start() argument
153 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_start()
162 if (scrtc->started) in shmob_drm_crtc_start()
180 shmob_drm_crtc_start_stop(scrtc, false); in shmob_drm_crtc_start()
207 shmob_drm_crtc_setup_geometry(scrtc); in shmob_drm_crtc_start()
211 lcdc_write(sdev, LDMLSR, scrtc->line_size); in shmob_drm_crtc_start()
[all …]
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);