Lines Matching full:planes
412 * @planes:
417 struct __drm_planes_state *planes; member
461 * Used for signaling unbound planes/connectors.
648 return state->planes[drm_plane_index(plane)].state; in drm_atomic_get_existing_plane_state()
663 return state->planes[drm_plane_index(plane)].old_state; in drm_atomic_get_old_plane_state()
678 return state->planes[drm_plane_index(plane)].new_state; in drm_atomic_get_new_plane_state()
752 * not change, state of other planes, since it avoids threading an error code
760 * example is when planes are fixed to a single CRTC, and the driver knows that
762 * read-lock on all planes connected to that CRTC. But if planes can be
774 if (state->planes[drm_plane_index(plane)].state) in __drm_atomic_get_current_plane_state()
775 return state->planes[drm_plane_index(plane)].state; in __drm_atomic_get_current_plane_state()
929 * for_each_oldnew_plane_in_state - iterate over all planes in an atomic update
936 * This iterates over all planes in an atomic update, tracking both old and
944 for_each_if ((__state)->planes[__i].ptr && \
945 ((plane) = (__state)->planes[__i].ptr, \
947 (old_plane_state) = (__state)->planes[__i].old_state,\
948 (new_plane_state) = (__state)->planes[__i].new_state, 1))
951 * for_each_oldnew_plane_in_state_reverse - iterate over all planes in an atomic
959 * This iterates over all planes in an atomic update in reverse order,
967 for_each_if ((__state)->planes[__i].ptr && \
968 ((plane) = (__state)->planes[__i].ptr, \
969 (old_plane_state) = (__state)->planes[__i].old_state,\
970 (new_plane_state) = (__state)->planes[__i].new_state, 1))
984 for_each_if ((__state)->planes[__i].ptr && \
985 ((plane) = (__state)->planes[__i].ptr, \
986 (new_plane_state) = (__state)->planes[__i].new_state, 1))
989 * for_each_old_plane_in_state - iterate over all planes in an atomic update
995 * This iterates over all planes in an atomic update, tracking only the old
1003 for_each_if ((__state)->planes[__i].ptr && \
1004 ((plane) = (__state)->planes[__i].ptr, \
1005 (old_plane_state) = (__state)->planes[__i].old_state, 1))
1007 * for_each_new_plane_in_state - iterate over all planes in an atomic update
1013 * This iterates over all planes in an atomic update, tracking only the new
1021 for_each_if ((__state)->planes[__i].ptr && \
1022 ((plane) = (__state)->planes[__i].ptr, \
1024 (new_plane_state) = (__state)->planes[__i].new_state, \