Lines Matching defs:plane
4 * DRM universal plane helper functions
43 * primary plane support on top of the normal CRTC configuration interface.
45 * plane together with the CRTC state this does not allow userspace to disable
46 * the primary plane itself. The default primary plane only expose XRBG8888 and
54 * gradually switch to the atomic helper infrastructure for plane updates. Once
56 * the proper legacy implementations for update and disable plane hooks provided
61 * The plane helpers share the function table structures with other helpers,
81 * Note: Once we change the plane hooks to more fine-grained locking we
101 static int drm_plane_helper_check_update(struct drm_plane *plane,
114 .plane = plane,
148 static int drm_primary_helper_update(struct drm_plane *plane, struct drm_crtc *crtc,
179 ret = drm_plane_helper_check_update(plane, crtc, fb,
190 * Primary plane isn't visible. Note that unless a driver
194 return plane->funcs->disable_plane(plane, ctx);
222 static int drm_primary_helper_disable(struct drm_plane *plane,
229 * drm_primary_helper_destroy() - Helper for primary plane destruction
230 * @plane: plane to destroy
232 * Provides a default plane destroy handler for primary planes. This handler
233 * is called during CRTC destruction. We disable the primary plane, remove
234 * it from the DRM plane list, and deallocate the plane structure.
236 void drm_primary_helper_destroy(struct drm_plane *plane)
238 drm_plane_cleanup(plane);
239 kfree(plane);