Lines Matching refs:plane
373 * @plane: display plane
381 vmw_sou_primary_plane_cleanup_fb(struct drm_plane *plane,
385 struct drm_crtc *crtc = plane->state->crtc ?
386 plane->state->crtc : old_state->crtc;
393 vmw_du_plane_cleanup_fb(plane, old_state);
400 * @plane: display plane
401 * @new_state: info on the new plane state, including the FB
403 * The SOU backing buffer is our equivalent of the display plane.
408 vmw_sou_primary_plane_prepare_fb(struct drm_plane *plane,
412 struct drm_crtc *crtc = plane->state->crtc ?: new_state->crtc;
531 * @plane: Plane state.
532 * @old_state: Old plane state.
541 struct drm_plane *plane,
549 bo_update.base.plane = plane;
552 bo_update.base.du = vmw_crtc_to_du(plane->state->crtc);
642 struct drm_plane_state *state = update->plane->state;
692 * @plane: Plane state.
693 * @old_state: Old plane state.
702 struct drm_plane *plane,
710 srf_update.base.plane = plane;
713 srf_update.base.du = vmw_crtc_to_du(plane->state->crtc);
730 vmw_sou_primary_plane_atomic_update(struct drm_plane *plane,
733 struct drm_crtc *crtc = plane->state->crtc;
739 if (crtc && plane->state->fb) {
742 vmw_framebuffer_to_vfb(plane->state->fb);
745 ret = vmw_sou_plane_update_bo(dev_priv, plane,
748 ret = vmw_sou_plane_update_surface(dev_priv, plane,
861 /* Initialize primary plane */
868 DRM_ERROR("Failed to initialize primary plane");
875 /* Initialize cursor plane */
882 DRM_ERROR("Failed to initialize cursor plane");