Lines Matching refs:crtc
28 struct drm_crtc *crtc = &priv->pipe.crtc; in aspeed_gfx_set_pixel_fmt() local
29 struct drm_device *drm = crtc->dev; in aspeed_gfx_set_pixel_fmt()
30 const u32 format = crtc->primary->state->fb->format->format; in aspeed_gfx_set_pixel_fmt()
82 struct drm_display_mode *m = &priv->pipe.crtc.state->adjusted_mode; in aspeed_gfx_crtc_mode_set_nofb()
147 struct drm_crtc *crtc = &pipe->crtc; in aspeed_gfx_pipe_enable() local
151 drm_crtc_vblank_on(crtc); in aspeed_gfx_pipe_enable()
157 struct drm_crtc *crtc = &pipe->crtc; in aspeed_gfx_pipe_disable() local
159 drm_crtc_vblank_off(crtc); in aspeed_gfx_pipe_disable()
167 struct drm_crtc *crtc = &pipe->crtc; in aspeed_gfx_pipe_update() local
172 spin_lock_irq(&crtc->dev->event_lock); in aspeed_gfx_pipe_update()
173 event = crtc->state->event; in aspeed_gfx_pipe_update()
175 crtc->state->event = NULL; in aspeed_gfx_pipe_update()
177 if (drm_crtc_vblank_get(crtc) == 0) in aspeed_gfx_pipe_update()
178 drm_crtc_arm_vblank_event(crtc, event); in aspeed_gfx_pipe_update()
180 drm_crtc_send_vblank_event(crtc, event); in aspeed_gfx_pipe_update()
182 spin_unlock_irq(&crtc->dev->event_lock); in aspeed_gfx_pipe_update()