Lines Matching refs:crtc
158 struct drm_crtc *crtc; member
171 kms->funcs->enable_vblank(kms, vbl_work->crtc); in vblank_ctrl_worker()
173 kms->funcs->disable_vblank(kms, vbl_work->crtc); in vblank_ctrl_worker()
179 struct drm_crtc *crtc, bool enable) in vblank_ctrl_queue_work() argument
189 vbl_work->crtc = crtc; in vblank_ctrl_queue_work()
410 struct drm_crtc *crtc; in msm_drm_init() local
498 drm_for_each_crtc(crtc, ddev) { in msm_drm_init()
502 ev_thread = &priv->event_thread[drm_crtc_index(crtc)]; in msm_drm_init()
504 ev_thread->worker = kthread_create_worker(0, "crtc_event:%d", crtc->base.id); in msm_drm_init()
641 int msm_crtc_enable_vblank(struct drm_crtc *crtc) in msm_crtc_enable_vblank() argument
643 struct drm_device *dev = crtc->dev; in msm_crtc_enable_vblank()
648 drm_dbg_vbl(dev, "crtc=%u", crtc->base.id); in msm_crtc_enable_vblank()
649 return vblank_ctrl_queue_work(priv, crtc, true); in msm_crtc_enable_vblank()
652 void msm_crtc_disable_vblank(struct drm_crtc *crtc) in msm_crtc_disable_vblank() argument
654 struct drm_device *dev = crtc->dev; in msm_crtc_disable_vblank()
659 drm_dbg_vbl(dev, "crtc=%u", crtc->base.id); in msm_crtc_disable_vblank()
660 vblank_ctrl_queue_work(priv, crtc, false); in msm_crtc_disable_vblank()