Lines Matching defs:plane
54 * drm_atomic_helper_check_plane_damage - Verify plane damage on atomic_check.
58 * This helper function makes sure that damage from plane state is discarded
60 * plane update rather than processing individual damage regions, then those
63 * Note that &drm_plane_state.fb_damage_clips == NULL in plane state means that
64 * full plane update should happen. It also ensure helper iterator will return
97 * during plane update. If num_clips is 0 then this helper will do a full plane
116 struct drm_plane *plane;
159 drm_for_each_plane(plane, fb->dev) {
162 ret = drm_modeset_lock(&plane->mutex, state->acquire_ctx);
166 if (plane->state->fb != fb) {
167 drm_modeset_unlock(&plane->mutex);
171 plane_state = drm_atomic_get_plane_state(state, plane);
207 * @old_state: Old plane state for validation.
210 * Initialize an iterator, which clips plane damage
211 * &drm_plane_state.fb_damage_clips to plane &drm_plane_state.src. This iterator
212 * returns full plane src in case damage is not present because either
213 * user-space didn't sent or driver discarded it (it want to do full plane
214 * update). Currently this iterator returns full plane src in case plane src
217 * For the case when plane is not visible or plane update should not happen the
256 * @rect: Return a rectangle in fb coordinate clipped to plane src.
258 * Since plane src is in 16.16 fixed point and damage clips are whole number,
259 * this iterator round off clips that intersect with plane src. Round down for
261 * off for full plane src, in case it's returned as damage. This iterator will
262 * skip damage clips outside of plane src.
267 * update the plane.
296 * drm_atomic_helper_damage_merged - Merged plane damage
297 * @old_state: Old plane state for validation.
301 * This function merges any valid plane damage clips into one rectangle and
308 * True if there is valid plane damage otherwise false.