Lines Matching refs:clip
397 struct drm_clip_rect *clip)
402 size_t offset = clip->y1 * fb->pitches[0] + clip->x1 * cpp;
405 size_t len = (clip->x2 - clip->x1) * cpp;
408 for (y = clip->y1; y < clip->y2; y++) {
420 struct drm_clip_rect *clip = &helper->dirty_clip;
426 clip_copy = *clip;
427 clip->x1 = clip->y1 = ~0;
428 clip->x2 = clip->y2 = 0;
659 struct drm_clip_rect *clip = &helper->dirty_clip;
666 clip->x1 = min_t(u32, clip->x1, x);
667 clip->y1 = min_t(u32, clip->y1, y);
668 clip->x2 = max_t(u32, clip->x2, x + width);
669 clip->y2 = max_t(u32, clip->y2, y + height);