Lines Matching refs:clips
996 struct drm_clip_rect *clips,
1015 clips = &norect;
1027 clips, num_clips, increment);
1046 struct drm_clip_rect *clips,
1053 color, clips, num_clips);
1056 clips, num_clips);
1730 struct drm_vmw_rect *clips,
1733 return vmw_kms_sou_do_surface_dirty(dev_priv, vfb, NULL, clips,
1745 struct drm_vmw_rect *clips,
1752 ret = vmw_kms_stdu_surface_dirty(dev_priv, vfb, NULL, clips,
1758 sid, destX, destY, clips,
2337 * @clips: A set of struct drm_clip_rect. Either this os @vclips must be NULL.
2339 * @vclips: A set of struct drm_vmw_rect cliprects. Either this or @clips must
2343 * @num_clips: Number of cliprects in the @clips or @vclips array.
2350 const struct drm_clip_rect *clips,
2383 const struct drm_clip_rect *clips_ptr = clips;
2403 * in @clips is unsigned short, whereas in @vclips
2406 if (clips) {
2495 * @clips: Clip rects in framebuffer (surface) space.
2496 * @num_clips: Number of clips in @clips.
2501 * using the region given by @clips. The surface resource @res and its backing
2505 const struct drm_clip_rect *clips,
2519 if (!clips)
2526 for (i = 0; i < num_clips; ++i, clips += increment, ++cmd) {
2535 if (clips->x1 > size->width || clips->x2 > size->width ||
2536 clips->y1 > size->height || clips->y2 > size->height) {
2537 DRM_ERROR("Invalid clips outsize of framebuffer.\n");
2541 box->x = clips->x1;
2542 box->y = clips->y1;
2544 box->w = clips->x2 - clips->x1;
2545 box->h = clips->y2 - clips->y1;
2722 * number of clips that actually are in plane src for fifo allocation.