Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c733 struct sun4i_crtc *scrtc) in sun4i_tcon_finish_page_flip() argument
738 if (scrtc->event) { in sun4i_tcon_finish_page_flip()
739 drm_crtc_send_vblank_event(&scrtc->crtc, scrtc->event); in sun4i_tcon_finish_page_flip()
740 drm_crtc_vblank_put(&scrtc->crtc); in sun4i_tcon_finish_page_flip()
741 scrtc->event = NULL; in sun4i_tcon_finish_page_flip()
750 struct sun4i_crtc *scrtc = tcon->crtc; in sun4i_tcon_handler() local
751 struct sunxi_engine *engine = scrtc->engine; in sun4i_tcon_handler()
761 drm_crtc_handle_vblank(&scrtc->crtc); in sun4i_tcon_handler()
762 sun4i_tcon_finish_page_flip(drm, scrtc); in sun4i_tcon_handler()
/kernel/linux/linux-5.10/drivers/gpu/drm/shmobile/
Dshmob_drm_crtc.c61 static void shmob_drm_crtc_setup_geometry(struct shmob_drm_crtc *scrtc) in shmob_drm_crtc_setup_geometry() argument
63 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_setup_geometry()
119 static void shmob_drm_crtc_start_stop(struct shmob_drm_crtc *scrtc, bool start) in shmob_drm_crtc_start_stop() argument
121 struct shmob_drm_device *sdev = scrtc->crtc.dev->dev_private; in shmob_drm_crtc_start_stop()
152 static void shmob_drm_crtc_start(struct shmob_drm_crtc *scrtc) in shmob_drm_crtc_start() argument
154 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_start()
163 if (scrtc->started) in shmob_drm_crtc_start()
181 shmob_drm_crtc_start_stop(scrtc, false); in shmob_drm_crtc_start()
208 shmob_drm_crtc_setup_geometry(scrtc); in shmob_drm_crtc_start()
212 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);