Home
last modified time | relevance | path

Searched refs:scrtc (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/
H A 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); 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 in sun4i_crtc_atomic_enable() local
146 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); sun4i_crtc_mode_set_nofb() local
163 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); sun4i_crtc_enable_vblank() local
174 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); sun4i_crtc_disable_vblank() local
196 struct sun4i_crtc *scrtc; sun4i_crtc_init() local
[all...]
H A Dsun4i_tcon.c740 struct sun4i_crtc *scrtc) in sun4i_tcon_finish_page_flip()
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()
739 sun4i_tcon_finish_page_flip(struct drm_device *dev, struct sun4i_crtc *scrtc) sun4i_tcon_finish_page_flip() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
H A 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 in sun4i_crtc_atomic_enable() local
141 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); sun4i_crtc_mode_set_nofb() local
157 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); sun4i_crtc_enable_vblank() local
168 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); sun4i_crtc_disable_vblank() local
190 struct sun4i_crtc *scrtc; sun4i_crtc_init() local
[all...]
H A Dsun4i_tcon.c733 struct sun4i_crtc *scrtc) in sun4i_tcon_finish_page_flip()
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()
732 sun4i_tcon_finish_page_flip(struct drm_device *dev, struct sun4i_crtc *scrtc) sun4i_tcon_finish_page_flip() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/shmobile/
H A 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()
147 * @scrtc: the SH Mobile CRTC
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()
253 shmob_drm_crtc_stop(struct shmob_drm_crtc *scrtc) shmob_drm_crtc_stop() argument
273 shmob_drm_crtc_suspend(struct shmob_drm_crtc *scrtc) shmob_drm_crtc_suspend() argument
278 shmob_drm_crtc_resume(struct shmob_drm_crtc *scrtc) shmob_drm_crtc_resume() argument
286 shmob_drm_crtc_compute_base(struct shmob_drm_crtc *scrtc, int x, int y) shmob_drm_crtc_compute_base() argument
308 shmob_drm_crtc_update_base(struct shmob_drm_crtc *scrtc) shmob_drm_crtc_update_base() argument
326 struct shmob_drm_crtc *scrtc = to_shmob_crtc(crtc); shmob_drm_crtc_dpms() local
350 struct shmob_drm_crtc *scrtc = to_shmob_crtc(crtc); shmob_drm_crtc_mode_set() local
390 shmob_drm_crtc_finish_page_flip(struct shmob_drm_crtc *scrtc) shmob_drm_crtc_finish_page_flip() argument
412 struct shmob_drm_crtc *scrtc = to_shmob_crtc(crtc); shmob_drm_crtc_page_flip() local
[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);
/kernel/linux/linux-6.6/drivers/gpu/drm/renesas/shmobile/
H A Dshmob_drm_crtc.c64 static void shmob_drm_crtc_setup_geometry(struct shmob_drm_crtc *scrtc) in shmob_drm_crtc_setup_geometry() argument
66 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_setup_geometry()
122 static void shmob_drm_crtc_start_stop(struct shmob_drm_crtc *scrtc, bool start) in shmob_drm_crtc_start_stop() argument
124 struct shmob_drm_device *sdev = scrtc->crtc.dev->dev_private; in shmob_drm_crtc_start_stop()
150 * @scrtc: the SH Mobile CRTC
155 static void shmob_drm_crtc_start(struct shmob_drm_crtc *scrtc) in shmob_drm_crtc_start() argument
157 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_start()
166 if (scrtc->started) in shmob_drm_crtc_start()
184 shmob_drm_crtc_start_stop(scrtc, false); in shmob_drm_crtc_start()
211 shmob_drm_crtc_setup_geometry(scrtc); in shmob_drm_crtc_start()
257 shmob_drm_crtc_stop(struct shmob_drm_crtc *scrtc) shmob_drm_crtc_stop() argument
277 shmob_drm_crtc_suspend(struct shmob_drm_crtc *scrtc) shmob_drm_crtc_suspend() argument
282 shmob_drm_crtc_resume(struct shmob_drm_crtc *scrtc) shmob_drm_crtc_resume() argument
290 shmob_drm_crtc_compute_base(struct shmob_drm_crtc *scrtc, int x, int y) shmob_drm_crtc_compute_base() argument
312 shmob_drm_crtc_update_base(struct shmob_drm_crtc *scrtc) shmob_drm_crtc_update_base() argument
330 struct shmob_drm_crtc *scrtc = to_shmob_crtc(crtc); shmob_drm_crtc_dpms() local
354 struct shmob_drm_crtc *scrtc = to_shmob_crtc(crtc); shmob_drm_crtc_mode_set() local
394 shmob_drm_crtc_finish_page_flip(struct shmob_drm_crtc *scrtc) shmob_drm_crtc_finish_page_flip() argument
416 struct shmob_drm_crtc *scrtc = to_shmob_crtc(crtc); shmob_drm_crtc_page_flip() local
[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);

Completed in 6 milliseconds