Home | History | Annotate | Download | only in drm

Lines Matching refs:plane

315  * @async_update: hint for asynchronous plane update
316 * @planes: pointer to array of structures with per-plane data
366 * When a connector or plane is not bound to any CRTC, it's still important
453 struct drm_plane *plane);
529 * drm_atomic_get_existing_plane_state - get plane state, if it exists
531 * @plane: plane to grab
533 * This function returns the plane state for the given plane, or NULL
534 * if the plane is not part of the global atomic state.
541 struct drm_plane *plane)
543 return state->planes[drm_plane_index(plane)].state;
547 * drm_atomic_get_old_plane_state - get plane state, if it exists
549 * @plane: plane to grab
551 * This function returns the old plane state for the given plane, or
552 * NULL if the plane is not part of the global atomic state.
556 struct drm_plane *plane)
558 return state->planes[drm_plane_index(plane)].old_state;
562 * drm_atomic_get_new_plane_state - get plane state, if it exists
564 * @plane: plane to grab
566 * This function returns the new plane state for the given plane, or
567 * NULL if the plane is not part of the global atomic state.
571 struct drm_plane *plane)
573 return state->planes[drm_plane_index(plane)].new_state;
640 * __drm_atomic_get_current_plane_state - get current plane state
642 * @plane: plane to grab
644 * This function returns the plane state for the given plane, either from
645 * @state, or if the plane isn't part of the atomic state update, from @plane.
663 * Read-only pointer to the current plane state.
667 struct drm_plane *plane)
669 if (state->planes[drm_plane_index(plane)].state)
670 return state->planes[drm_plane_index(plane)].state;
672 return plane->state;
821 * @plane: &struct drm_plane iteration cursor
830 #define for_each_oldnew_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i) \
835 ((plane) = (__state)->planes[__i].ptr, \
836 (void)(plane) /* Only to avoid unused-but-set-variable warning */, \
844 * @plane: &struct drm_plane iteration cursor
853 #define for_each_oldnew_plane_in_state_reverse(__state, plane, old_plane_state, new_plane_state, __i) \
858 ((plane) = (__state)->planes[__i].ptr, \
865 * @plane: &struct drm_plane iteration cursor
873 #define for_each_old_plane_in_state(__state, plane, old_plane_state, __i) \
878 ((plane) = (__state)->planes[__i].ptr, \
883 * @plane: &struct drm_plane iteration cursor
891 #define for_each_new_plane_in_state(__state, plane, new_plane_state, __i) \
896 ((plane) = (__state)->planes[__i].ptr, \
897 (void)(plane) /* Only to avoid unused-but-set-variable warning */, \