Lines Matching refs:clips
57 * ignore damage clips property and in that case driver will do a full plane
58 * update. In case damage clips are provided then it is guaranteed that the area
59 * inside damage clips will be updated to plane. For efficiency driver can do
60 * full update or can update more than specified in damage clips. Since driver
63 * provides damage clips which doesn't encompass the actual damage to
68 * damage clips are not in 16.16 fixed point. Similar to plane src in
69 * framebuffer, damage clips cannot be negative. In damage clip, x1/y1 are
71 * damage clips, it is strongly discouraged.
96 * drm_plane_enable_fb_damage_clips - Enables plane fb damage clips property.
97 * @plane: Plane on which to enable damage clips property.
99 * This function lets driver to enable the damage clips property on a plane.
151 * @clips: Dirty region.
152 * @num_clips: Count of clip in clips.
167 unsigned int color, struct drm_clip_rect *clips,
191 if (clips) {
205 convert_clip_rect_to_rect(clips, rects, num_clips, inc);
266 * @state: Plane state from which to iterate the damage clips.
268 * Initialize an iterator, which clips plane damage
290 iter->clips = drm_helper_get_plane_damage_clips(state);
299 if (!iter->clips || !drm_rect_equals(&state->src, &old_state->src)) {
300 iter->clips = NULL;
312 * Since plane src is in 16.16 fixed point and damage clips are whole number,
313 * this iterator round off clips that intersect with plane src. Round down for
316 * skip damage clips outside of plane src.
336 *rect = iter->clips[iter->curr_clip];
352 * @state: Plane state from which to iterate the damage clips.
355 * This function merges any valid plane damage clips into one rectangle and