Lines Matching refs:planes
353 * @planes: pointer to array of structures with per-plane data
401 struct __drm_planes_state *planes;
413 * Used for signaling unbound planes/connectors.
600 return state->planes[drm_plane_index(plane)].state;
615 return state->planes[drm_plane_index(plane)].old_state;
630 return state->planes[drm_plane_index(plane)].new_state;
704 * not change, state of other planes, since it avoids threading an error code
712 * example is when planes are fixed to a single CRTC, and the driver knows that
714 * read-lock on all planes connected to that CRTC. But if planes can be
726 if (state->planes[drm_plane_index(plane)].state)
727 return state->planes[drm_plane_index(plane)].state;
881 * for_each_oldnew_plane_in_state - iterate over all planes in an atomic update
888 * This iterates over all planes in an atomic update, tracking both old and
896 for_each_if ((__state)->planes[__i].ptr && \
897 ((plane) = (__state)->planes[__i].ptr, \
899 (old_plane_state) = (__state)->planes[__i].old_state,\
900 (new_plane_state) = (__state)->planes[__i].new_state, 1))
903 * for_each_oldnew_plane_in_state_reverse - iterate over all planes in an atomic
911 * This iterates over all planes in an atomic update in reverse order,
919 for_each_if ((__state)->planes[__i].ptr && \
920 ((plane) = (__state)->planes[__i].ptr, \
921 (old_plane_state) = (__state)->planes[__i].old_state,\
922 (new_plane_state) = (__state)->planes[__i].new_state, 1))
936 for_each_if ((__state)->planes[__i].ptr && \
937 ((plane) = (__state)->planes[__i].ptr, \
938 (new_plane_state) = (__state)->planes[__i].new_state, 1))
941 * for_each_old_plane_in_state - iterate over all planes in an atomic update
947 * This iterates over all planes in an atomic update, tracking only the old
955 for_each_if ((__state)->planes[__i].ptr && \
956 ((plane) = (__state)->planes[__i].ptr, \
957 (old_plane_state) = (__state)->planes[__i].old_state, 1))
959 * for_each_new_plane_in_state - iterate over all planes in an atomic update
965 * This iterates over all planes in an atomic update, tracking only the new
973 for_each_if ((__state)->planes[__i].ptr && \
974 ((plane) = (__state)->planes[__i].ptr, \
976 (new_plane_state) = (__state)->planes[__i].new_state, \