Lines Matching refs:crtc

134 		drm_crtc_handle_vblank(&mcde->pipe.crtc);  in mcde_display_irq()
1155 struct drm_crtc *crtc = &pipe->crtc; in mcde_display_enable() local
1157 struct drm_device *drm = crtc->dev; in mcde_display_enable()
1277 drm_crtc_vblank_on(crtc); in mcde_display_enable()
1302 struct drm_crtc *crtc = &pipe->crtc; in mcde_display_disable() local
1303 struct drm_device *drm = crtc->dev; in mcde_display_disable()
1308 drm_crtc_vblank_off(crtc); in mcde_display_disable()
1320 event = crtc->state->event; in mcde_display_disable()
1322 crtc->state->event = NULL; in mcde_display_disable()
1324 spin_lock_irq(&crtc->dev->event_lock); in mcde_display_disable()
1325 drm_crtc_send_vblank_event(crtc, event); in mcde_display_disable()
1326 spin_unlock_irq(&crtc->dev->event_lock); in mcde_display_disable()
1386 struct drm_crtc *crtc = &pipe->crtc; in mcde_display_update() local
1387 struct drm_device *drm = crtc->dev; in mcde_display_update()
1389 struct drm_pending_vblank_event *event = crtc->state->event; in mcde_display_update()
1400 crtc->state->event = NULL; in mcde_display_update()
1402 spin_lock_irq(&crtc->dev->event_lock); in mcde_display_update()
1410 if (crtc->state->active && drm_crtc_vblank_get(crtc) == 0) { in mcde_display_update()
1412 drm_crtc_arm_vblank_event(crtc, event); in mcde_display_update()
1415 drm_crtc_send_vblank_event(crtc, event); in mcde_display_update()
1418 spin_unlock_irq(&crtc->dev->event_lock); in mcde_display_update()
1447 struct drm_crtc *crtc = &pipe->crtc; in mcde_display_enable_vblank() local
1448 struct drm_device *drm = crtc->dev; in mcde_display_enable_vblank()
1466 struct drm_crtc *crtc = &pipe->crtc; in mcde_display_disable_vblank() local
1467 struct drm_device *drm = crtc->dev; in mcde_display_disable_vblank()