Lines Matching refs:plane

109  * vmw_cursor_update_image - update the cursor image on the provided plane
111 * @vps: the plane state of the cursor plane
141 * @vps: the plane state of the cursor plane
183 * @vps: cursor plane state
504 void vmw_du_cursor_plane_destroy(struct drm_plane *plane)
506 struct vmw_cursor_plane *vcp = vmw_plane_to_vcp(plane);
509 vmw_cursor_update_position(plane->dev->dev_private, false, 0, 0);
514 drm_plane_cleanup(plane);
518 void vmw_du_primary_plane_destroy(struct drm_plane *plane)
520 drm_plane_cleanup(plane);
529 * @vps: plane state associated with the display surface
551 * vmw_du_plane_cleanup_fb - Unpins the plane surface
553 * @plane: display plane
561 vmw_du_plane_cleanup_fb(struct drm_plane *plane,
614 * @vps: state of the cursor plane
639 * vmw_du_cursor_plane_cleanup_fb - Unpins the plane surface
641 * @plane: cursor plane
649 vmw_du_cursor_plane_cleanup_fb(struct drm_plane *plane,
652 struct vmw_cursor_plane *vcp = vmw_plane_to_vcp(plane);
680 * @plane: display plane
681 * @new_state: info on the new plane state, including the FB
686 vmw_du_cursor_plane_prepare_fb(struct drm_plane *plane,
690 struct vmw_cursor_plane *vcp = vmw_plane_to_vcp(plane);
759 vmw_du_cursor_plane_atomic_update(struct drm_plane *plane,
763 plane);
765 plane);
828 * @plane: display plane
829 * @state: info on the new plane state, including the FB
837 int vmw_du_primary_plane_atomic_check(struct drm_plane *plane,
841 plane);
870 * @plane: cursor plane
871 * @state: info on the new plane state
878 int vmw_du_cursor_plane_atomic_check(struct drm_plane *plane,
882 plane);
936 /* We always want to have an active plane with an active CRTC */
1037 * specified plane.
1048 * vmw_du_plane_duplicate_state - duplicate plane state
1049 * @plane: drm plane
1051 * Allocates and returns a copy of the plane state (both common and
1052 * vmw-specific) for the specified plane.
1054 * Returns: The newly allocated plane state, or NULL on failure.
1057 vmw_du_plane_duplicate_state(struct drm_plane *plane)
1062 vps = kmemdup(plane->state, sizeof(*vps), GFP_KERNEL);
1081 __drm_atomic_helper_plane_duplicate_state(plane, state);
1088 * vmw_du_plane_reset - creates a blank vmw plane state
1089 * @plane: drm plane
1091 * Resets the atomic state for @plane by freeing the state pointer (which might
1094 void vmw_du_plane_reset(struct drm_plane *plane)
1098 if (plane->state)
1099 vmw_du_plane_destroy_state(plane, plane->state);
1108 __drm_atomic_helper_plane_reset(plane, &vps->base);
1113 * vmw_du_plane_destroy_state - destroy plane state
1114 * @plane: DRM plane
1117 * Destroys the plane state (both common and vmw-specific) for the
1118 * specified plane.
1121 vmw_du_plane_destroy_state(struct drm_plane *plane,
1133 drm_atomic_helper_plane_destroy_state(plane, state);
1204 * specified plane.
1820 * It also means we don't need to take the plane mutex.
2625 struct drm_plane *plane = crtc->primary;
2627 if (plane->state->fb == &framebuffer->base)
2889 * vmw_du_helper_plane_update - Helper to do plane update on a display unit.
2892 * Call this helper after setting callbacks in &vmw_du_update_plane to do plane
2899 struct drm_plane_state *state = update->plane->state;
2914 * Iterate in advance to check if really need plane update and find the
2915 * number of clips that actually are in plane src for fifo allocation.