Lines Matching defs:clip
142 struct drm_clip_rect *clip,
146 size_t offset = clip->y1 * fb->pitches[0];
147 size_t len = clip->x2 - clip->x1;
153 offset += clip->x1 / 8;
154 len = DIV_ROUND_UP(len + clip->x1 % 8, 8);
157 offset += clip->x1 / 4;
158 len = DIV_ROUND_UP(len + clip->x1 % 4, 4);
161 offset += clip->x1 / 2;
162 len = DIV_ROUND_UP(len + clip->x1 % 2, 2);
165 offset += clip->x1 * fb->format->cpp[0];
171 iosys_map_incr(dst, offset); /* go to first pixel within clip rect */
173 for (y = clip->y1; y < clip->y2; y++) {
181 struct drm_clip_rect *clip)
205 drm_fbdev_generic_damage_blit_real(fb_helper, clip, &dst);
216 struct drm_clip_rect *clip)
222 if (!(clip->x1 < clip->x2 && clip->y1 < clip->y2))
225 ret = drm_fbdev_generic_damage_blit(helper, clip);
230 ret = helper->fb->funcs->dirty(helper->fb, NULL, 0, 0, clip, 1);