Home | History | Annotate | Download | only in drm

Lines Matching refs:plane

6  * DRM universal plane helper functions
46 * primary plane support on top of the normal CRTC configuration interface.
48 * plane together with the CRTC state this does not allow userspace to disable
49 * the primary plane itself. The default primary plane only expose XRBG8888 and
57 * gradually switch to the atomic helper infrastructure for plane updates. Once
59 * the proper legacy implementations for update and disable plane hooks provided
64 * The plane helpers share the function table structures with other helpers,
84 * Note: Once we change the plane hooks to more fine-grained locking we
104 static int drm_plane_helper_check_update(struct drm_plane *plane,
117 .plane = plane,
152 static int drm_primary_helper_update(struct drm_plane *plane, struct drm_crtc *crtc,
183 ret = drm_plane_helper_check_update(plane, crtc, fb,
194 * Primary plane isn't visible. Note that unless a driver
198 return plane->funcs->disable_plane(plane, ctx);
226 static int drm_primary_helper_disable(struct drm_plane *plane,
233 * drm_primary_helper_destroy() - Helper for primary plane destruction
234 * @plane: plane to destroy
236 * Provides a default plane destroy handler for primary planes. This handler
237 * is called during CRTC destruction. We disable the primary plane, remove
238 * it from the DRM plane list, and deallocate the plane structure.
240 void drm_primary_helper_destroy(struct drm_plane *plane)
242 drm_plane_cleanup(plane);
243 kfree(plane);