Lines Matching refs:clips
555 struct drm_mode_rect *clips;
631 clips = drm_plane_get_damage_clips(new_plane_state);
634 /* Make sure damage clips are valid and inside the fb. */
636 if (clips->x1 >= clips->x2 ||
637 clips->y1 >= clips->y2 ||
638 clips->x1 < 0 ||
639 clips->y1 < 0 ||
640 clips->x2 > fb_width ||
641 clips->y2 > fb_height) {
643 plane->base.id, plane->name, clips->x1,
644 clips->y1, clips->x2, clips->y2);
647 clips++;