Lines Matching refs:mtk_crtc_state
71 struct mtk_crtc_state { struct
85 static inline struct mtk_crtc_state *to_mtk_crtc_state(struct drm_crtc_state *s) in to_mtk_crtc_state() argument
87 return container_of(s, struct mtk_crtc_state, base); in to_mtk_crtc_state()
179 struct mtk_crtc_state *state; in mtk_drm_crtc_reset()
194 struct mtk_crtc_state *state; in mtk_drm_crtc_duplicate_state()
226 struct mtk_crtc_state *state = to_mtk_crtc_state(crtc->state); in mtk_drm_crtc_mode_set_nofb()
292 struct mtk_crtc_state *state; in ddp_cmdq_cb()
465 struct mtk_crtc_state *state = to_mtk_crtc_state(mtk_crtc->base.state); in mtk_crtc_ddp_config()
738 struct mtk_crtc_state *mtk_crtc_state = to_mtk_crtc_state(crtc_state); in mtk_drm_crtc_atomic_begin() local
741 if (mtk_crtc->event && mtk_crtc_state->base.event) in mtk_drm_crtc_atomic_begin()
744 if (mtk_crtc_state->base.event) { in mtk_drm_crtc_atomic_begin()
745 mtk_crtc_state->base.event->pipe = drm_crtc_index(crtc); in mtk_drm_crtc_atomic_begin()
747 mtk_crtc->event = mtk_crtc_state->base.event; in mtk_drm_crtc_atomic_begin()
748 mtk_crtc_state->base.event = NULL; in mtk_drm_crtc_atomic_begin()