Lines Matching full:planes
353 * @planes: pointer to array of structures with per-plane data
401 struct __drm_planes_state *planes; member
413 * Used for signaling unbound planes/connectors.
593 return state->planes[drm_plane_index(plane)].state; in drm_atomic_get_existing_plane_state()
608 return state->planes[drm_plane_index(plane)].old_state; in drm_atomic_get_old_plane_state()
623 return state->planes[drm_plane_index(plane)].new_state; in drm_atomic_get_new_plane_state()
697 * not change, state of other planes, since it avoids threading an error code
705 * example is when planes are fixed to a single CRTC, and the driver knows that
707 * read-lock on all planes connected to that CRTC. But if planes can be
719 if (state->planes[drm_plane_index(plane)].state) in __drm_atomic_get_current_plane_state()
720 return state->planes[drm_plane_index(plane)].state; in __drm_atomic_get_current_plane_state()
874 * for_each_oldnew_plane_in_state - iterate over all planes in an atomic update
881 * This iterates over all planes in an atomic update, tracking both old and
889 for_each_if ((__state)->planes[__i].ptr && \
890 ((plane) = (__state)->planes[__i].ptr, \
892 (old_plane_state) = (__state)->planes[__i].old_state,\
893 (new_plane_state) = (__state)->planes[__i].new_state, 1))
896 * for_each_oldnew_plane_in_state_reverse - iterate over all planes in an atomic
904 * This iterates over all planes in an atomic update in reverse order,
912 for_each_if ((__state)->planes[__i].ptr && \
913 ((plane) = (__state)->planes[__i].ptr, \
914 (old_plane_state) = (__state)->planes[__i].old_state,\
915 (new_plane_state) = (__state)->planes[__i].new_state, 1))
929 for_each_if ((__state)->planes[__i].ptr && \
930 ((plane) = (__state)->planes[__i].ptr, \
931 (new_plane_state) = (__state)->planes[__i].new_state, 1))
934 * for_each_old_plane_in_state - iterate over all planes in an atomic update
940 * This iterates over all planes in an atomic update, tracking only the old
948 for_each_if ((__state)->planes[__i].ptr && \
949 ((plane) = (__state)->planes[__i].ptr, \
950 (old_plane_state) = (__state)->planes[__i].old_state, 1))
952 * for_each_new_plane_in_state - iterate over all planes in an atomic update
958 * This iterates over all planes in an atomic update, tracking only the new
966 for_each_if ((__state)->planes[__i].ptr && \
967 ((plane) = (__state)->planes[__i].ptr, \
969 (new_plane_state) = (__state)->planes[__i].new_state, \