Lines Matching refs:plane
178 * plane update checks only.
199 * position and framebuffer. Since it ties the primary plane to every
200 * mode change it is incompatible with universal plane support. And
218 * changing anything of the primary plane configuration. This fits the
309 * Drivers should check plane-update related CRTC constraints in this
367 * This hook is called before any plane commit functions are called.
372 * the tradeoffs and variants of plane commit helpers.
389 * other commit hooks for plane updates.
391 * This hook is called after any plane commit functions are called.
396 * the tradeoffs and variants of plane commit helpers.
1202 * members in the plane structure.
1206 * implement this. Other drivers which need additional plane processing
1215 * shadow-plane helpers belongs into @begin_fb_access, so that atomic
1231 int (*prepare_fb)(struct drm_plane *plane,
1237 * framebuffer and plane configuration in @prepare_fb.
1242 void (*cleanup_fb)(struct drm_plane *plane,
1248 * This hook prepares the plane for access during an atomic commit.
1252 * For example, with shadow-plane helpers, the GEM buffer's vmap
1265 int (*begin_fb_access)(struct drm_plane *plane, struct drm_plane_state *new_plane_state);
1271 * at the end of a commit for the new plane state.
1273 void (*end_fb_access)(struct drm_plane *plane, struct drm_plane_state *new_plane_state);
1278 * Drivers should check plane specific constraints in this hook.
1280 * When using drm_atomic_helper_check_planes() plane's @atomic_check
1310 int (*atomic_check)(struct drm_plane *plane,
1316 * Drivers should use this function to update the plane state. This
1323 * the tradeoffs and variants of plane commit helpers.
1327 void (*atomic_update)(struct drm_plane *plane,
1333 * Drivers should use this function to unconditionally enable a plane.
1337 * that use @atomic_enable should set up a plane in @atomic_update and
1338 * afterwards enable the plane in @atomic_enable. If a plane needs to be
1345 * the tradeoffs and variants of plane commit helpers.
1350 * implement the complete plane update in @atomic_update.
1352 void (*atomic_enable)(struct drm_plane *plane,
1358 * Drivers should use this function to unconditionally disable a plane.
1372 * the tradeoffs and variants of plane commit helpers.
1377 void (*atomic_disable)(struct drm_plane *plane,
1383 * Drivers should set this function pointer to check if the plane's
1396 int (*atomic_async_check)(struct drm_plane *plane,
1404 * state and update the plane. Here async means "not vblank
1411 * the same plane.
1414 * &drm_plane_state but update the current one with the new plane
1417 * Drivers should also swap the framebuffers between current plane
1426 * - It only works for single plane updates
1433 void (*atomic_async_update)(struct drm_plane *plane,
1438 * drm_plane_helper_add - sets the helper vtable for a plane
1439 * @plane: DRM plane
1440 * @funcs: helper vtable to set for @plane
1442 static inline void drm_plane_helper_add(struct drm_plane *plane,
1445 plane->helper_private = funcs;
1503 * CRTC, plane or connector, tracked in a &drm_private_obj structure.