Lines Matching refs:clips

52  * ignore damage clips property and in that case driver will do a full plane
53 * update. In case damage clips are provided then it is guaranteed that the area
54 * inside damage clips will be updated to plane. For efficiency driver can do
55 * full update or can update more than specified in damage clips. Since driver
58 * provides damage clips which doesn't encompass the actual damage to
63 * damage clips are not in 16.16 fixed point. Similar to plane src in
64 * framebuffer, damage clips cannot be negative. In damage clip, x1/y1 are
66 * damage clips, it is strongly discouraged.
91 * drm_plane_enable_fb_damage_clips - Enables plane fb damage clips property.
92 * @plane: Plane on which to enable damage clips property.
94 * This function lets driver to enable the damage clips property on a plane.
146 * @clips: Dirty region.
147 * @num_clips: Count of clip in clips.
162 unsigned int color, struct drm_clip_rect *clips,
186 if (clips) {
200 convert_clip_rect_to_rect(clips, rects, num_clips, inc);
261 * @state: Plane state from which to iterate the damage clips.
263 * Initialize an iterator, which clips plane damage
285 iter->clips = drm_helper_get_plane_damage_clips(state);
294 if (!iter->clips || !drm_rect_equals(&state->src, &old_state->src)) {
295 iter->clips = NULL;
307 * Since plane src is in 16.16 fixed point and damage clips are whole number,
308 * this iterator round off clips that intersect with plane src. Round down for
311 * skip damage clips outside of plane src.
331 *rect = iter->clips[iter->curr_clip];
347 * @state: Plane state from which to iterate the damage clips.
350 * This function merges any valid plane damage clips into one rectangle and