Lines Matching defs:planes
584 * @planes:
589 struct __drm_planes_state *planes;
633 * Used for signaling unbound planes/connectors.
812 return state->planes[drm_plane_index(plane)].old_state;
827 return state->planes[drm_plane_index(plane)].new_state;
878 * when drivers need to peek at, but not change, state of other planes,
886 * example is when planes are fixed to a single CRTC, and the driver knows that
888 * read-lock on all planes connected to that CRTC. But if planes can be
1108 * for_each_oldnew_plane_in_state - iterate over all planes in an atomic update
1115 * This iterates over all planes in an atomic update, tracking both old and
1123 for_each_if ((__state)->planes[__i].ptr && \
1124 ((plane) = (__state)->planes[__i].ptr, \
1126 (old_plane_state) = (__state)->planes[__i].old_state,\
1127 (new_plane_state) = (__state)->planes[__i].new_state, 1))
1130 * for_each_oldnew_plane_in_state_reverse - iterate over all planes in an atomic
1138 * This iterates over all planes in an atomic update in reverse order,
1146 for_each_if ((__state)->planes[__i].ptr && \
1147 ((plane) = (__state)->planes[__i].ptr, \
1148 (old_plane_state) = (__state)->planes[__i].old_state,\
1149 (new_plane_state) = (__state)->planes[__i].new_state, 1))
1163 for_each_if ((__state)->planes[__i].ptr && \
1164 ((plane) = (__state)->planes[__i].ptr, \
1165 (new_plane_state) = (__state)->planes[__i].new_state, 1))
1168 * for_each_old_plane_in_state - iterate over all planes in an atomic update
1174 * This iterates over all planes in an atomic update, tracking only the old
1182 for_each_if ((__state)->planes[__i].ptr && \
1183 ((plane) = (__state)->planes[__i].ptr, \
1184 (old_plane_state) = (__state)->planes[__i].old_state, 1))
1186 * for_each_new_plane_in_state - iterate over all planes in an atomic update
1192 * This iterates over all planes in an atomic update, tracking only the new
1200 for_each_if ((__state)->planes[__i].ptr && \
1201 ((plane) = (__state)->planes[__i].ptr, \
1203 (new_plane_state) = (__state)->planes[__i].new_state, \