Lines Matching full:planes

334  * @planes: pointer to array of structures with per-plane data
382 struct __drm_planes_state *planes; member
394 * Used for signaling unbound planes/connectors.
574 return state->planes[drm_plane_index(plane)].state; in drm_atomic_get_existing_plane_state()
589 return state->planes[drm_plane_index(plane)].old_state; in drm_atomic_get_old_plane_state()
604 return state->planes[drm_plane_index(plane)].new_state; in drm_atomic_get_new_plane_state()
678 * not change, state of other planes, since it avoids threading an error code
686 * example is when planes are fixed to a single CRTC, and the driver knows that
688 * read-lock on all planes connected to that CRTC. But if planes can be
700 if (state->planes[drm_plane_index(plane)].state) in __drm_atomic_get_current_plane_state()
701 return state->planes[drm_plane_index(plane)].state; in __drm_atomic_get_current_plane_state()
855 * for_each_oldnew_plane_in_state - iterate over all planes in an atomic update
862 * This iterates over all planes in an atomic update, tracking both old and
870 for_each_if ((__state)->planes[__i].ptr && \
871 ((plane) = (__state)->planes[__i].ptr, \
873 (old_plane_state) = (__state)->planes[__i].old_state,\
874 (new_plane_state) = (__state)->planes[__i].new_state, 1))
877 * for_each_oldnew_plane_in_state_reverse - iterate over all planes in an atomic
885 * This iterates over all planes in an atomic update in reverse order,
893 for_each_if ((__state)->planes[__i].ptr && \
894 ((plane) = (__state)->planes[__i].ptr, \
895 (old_plane_state) = (__state)->planes[__i].old_state,\
896 (new_plane_state) = (__state)->planes[__i].new_state, 1))
910 for_each_if ((__state)->planes[__i].ptr && \
911 ((plane) = (__state)->planes[__i].ptr, \
912 (new_plane_state) = (__state)->planes[__i].new_state, 1))
915 * for_each_old_plane_in_state - iterate over all planes in an atomic update
921 * This iterates over all planes in an atomic update, tracking only the old
929 for_each_if ((__state)->planes[__i].ptr && \
930 ((plane) = (__state)->planes[__i].ptr, \
931 (old_plane_state) = (__state)->planes[__i].old_state, 1))
933 * for_each_new_plane_in_state - iterate over all planes in an atomic update
939 * This iterates over all planes in an atomic update, tracking only the new
947 for_each_if ((__state)->planes[__i].ptr && \
948 ((plane) = (__state)->planes[__i].ptr, \
950 (new_plane_state) = (__state)->planes[__i].new_state, \