Lines Matching refs:crtc

37 	container_of(x, struct vmw_screen_object_unit, base.crtc)
109 static void vmw_sou_crtc_destroy(struct drm_crtc *crtc) in vmw_sou_crtc_destroy() argument
111 vmw_sou_destroy(vmw_crtc_to_sou(crtc)); in vmw_sou_crtc_destroy()
211 static void vmw_sou_crtc_mode_set_nofb(struct drm_crtc *crtc) in vmw_sou_crtc_mode_set_nofb() argument
221 sou = vmw_crtc_to_sou(crtc); in vmw_sou_crtc_mode_set_nofb()
222 dev_priv = vmw_priv(crtc->dev); in vmw_sou_crtc_mode_set_nofb()
223 ps = crtc->primary->state; in vmw_sou_crtc_mode_set_nofb()
251 ret = vmw_sou_fifo_create(dev_priv, sou, x, y, &crtc->mode); in vmw_sou_crtc_mode_set_nofb()
254 crtc->x, crtc->y); in vmw_sou_crtc_mode_set_nofb()
269 static void vmw_sou_crtc_helper_prepare(struct drm_crtc *crtc) in vmw_sou_crtc_helper_prepare() argument
281 static void vmw_sou_crtc_atomic_enable(struct drm_crtc *crtc, in vmw_sou_crtc_atomic_enable() argument
292 static void vmw_sou_crtc_atomic_disable(struct drm_crtc *crtc, in vmw_sou_crtc_atomic_disable() argument
300 if (!crtc) { in vmw_sou_crtc_atomic_disable()
305 sou = vmw_crtc_to_sou(crtc); in vmw_sou_crtc_atomic_disable()
306 dev_priv = vmw_priv(crtc->dev); in vmw_sou_crtc_atomic_disable()
385 struct drm_crtc *crtc = plane->state->crtc ? in vmw_sou_primary_plane_cleanup_fb() local
386 plane->state->crtc : old_state->crtc; in vmw_sou_primary_plane_cleanup_fb()
389 vmw_bo_unpin(vmw_priv(crtc->dev), vps->bo, false); in vmw_sou_primary_plane_cleanup_fb()
412 struct drm_crtc *crtc = plane->state->crtc ?: new_state->crtc; in vmw_sou_primary_plane_prepare_fb() local
431 dev_priv = vmw_priv(crtc->dev); in vmw_sou_primary_plane_prepare_fb()
548 bo_update.base.du = vmw_crtc_to_du(plane->state->crtc); in vmw_sou_plane_update_bo()
708 srf_update.base.du = vmw_crtc_to_du(plane->state->crtc); in vmw_sou_plane_update_surface()
729 struct drm_crtc *crtc = new_state->crtc; in vmw_sou_primary_plane_atomic_update() local
734 if (crtc && new_state->fb) { in vmw_sou_primary_plane_atomic_update()
735 struct vmw_private *dev_priv = vmw_priv(crtc->dev); in vmw_sou_primary_plane_atomic_update()
814 struct drm_crtc *crtc; in vmw_sou_init() local
822 crtc = &sou->base.crtc; in vmw_sou_init()
893 ret = drm_crtc_init_with_planes(dev, crtc, primary, in vmw_sou_init()
901 drm_crtc_helper_add(crtc, &vmw_sou_crtc_helper_funcs); in vmw_sou_init()
903 drm_mode_crtc_set_gamma_size(crtc, 256); in vmw_sou_init()
996 s32 trans_x = dirty->unit->crtc.x - sdirty->dst_x; in vmw_sou_surface_fifo_commit()
997 s32 trans_y = dirty->unit->crtc.y - sdirty->dst_y; in vmw_sou_surface_fifo_commit()
1103 struct drm_crtc *crtc) in vmw_kms_sou_do_surface_dirty() argument
1128 sdirty.base.crtc = crtc; in vmw_kms_sou_do_surface_dirty()
1217 struct drm_crtc *crtc) in vmw_kms_sou_do_bo_dirty() argument
1240 dirty.crtc = crtc; in vmw_kms_sou_do_bo_dirty()
1326 struct drm_crtc *crtc) in vmw_kms_sou_readback() argument
1348 dirty.crtc = crtc; in vmw_kms_sou_readback()