Lines Matching refs:crtc
54 drm_crtc_handle_vblank(&priv->pipe.crtc); in tve200_irq()
125 struct drm_crtc *crtc = &pipe->crtc; in tve200_display_enable() local
127 struct drm_device *drm = crtc->dev; in tve200_display_enable()
239 drm_crtc_vblank_on(crtc); in tve200_display_enable()
244 struct drm_crtc *crtc = &pipe->crtc; in tve200_display_disable() local
245 struct drm_device *drm = crtc->dev; in tve200_display_disable()
248 drm_crtc_vblank_off(crtc); in tve200_display_disable()
260 struct drm_crtc *crtc = &pipe->crtc; in tve200_display_update() local
261 struct drm_device *drm = crtc->dev; in tve200_display_update()
263 struct drm_pending_vblank_event *event = crtc->state->event; in tve200_display_update()
283 crtc->state->event = NULL; in tve200_display_update()
285 spin_lock_irq(&crtc->dev->event_lock); in tve200_display_update()
286 if (crtc->state->active && drm_crtc_vblank_get(crtc) == 0) in tve200_display_update()
287 drm_crtc_arm_vblank_event(crtc, event); in tve200_display_update()
289 drm_crtc_send_vblank_event(crtc, event); in tve200_display_update()
290 spin_unlock_irq(&crtc->dev->event_lock); in tve200_display_update()
296 struct drm_crtc *crtc = &pipe->crtc; in tve200_display_enable_vblank() local
297 struct drm_device *drm = crtc->dev; in tve200_display_enable_vblank()
308 struct drm_crtc *crtc = &pipe->crtc; in tve200_display_disable_vblank() local
309 struct drm_device *drm = crtc->dev; in tve200_display_disable_vblank()