Lines Matching refs:clips

449 				struct drm_clip_rect *clips,  in do_surface_dirty_sou()  argument
476 BUG_ON(!clips || !num_clips); in do_surface_dirty_sou()
496 left = clips->x1; in do_surface_dirty_sou()
497 right = clips->x2; in do_surface_dirty_sou()
498 top = clips->y1; in do_surface_dirty_sou()
499 bottom = clips->y2; in do_surface_dirty_sou()
502 for (i = 1, clips_ptr = clips + inc; in do_surface_dirty_sou()
519 clips_ptr = clips; in do_surface_dirty_sou()
595 struct drm_clip_rect *clips, in vmw_framebuffer_surface_dirty() argument
621 clips = &norect; in vmw_framebuffer_surface_dirty()
632 clips, num_clips, inc, NULL); in vmw_framebuffer_surface_dirty()
778 struct drm_clip_rect *clips, in do_dmabuf_dirty_ldu() argument
797 for (i = 0; i < num_clips; i++, clips += increment) { in do_dmabuf_dirty_ldu()
799 cmd[i].body.x = cpu_to_le32(clips->x1); in do_dmabuf_dirty_ldu()
800 cmd[i].body.y = cpu_to_le32(clips->y1); in do_dmabuf_dirty_ldu()
801 cmd[i].body.width = cpu_to_le32(clips->x2 - clips->x1); in do_dmabuf_dirty_ldu()
802 cmd[i].body.height = cpu_to_le32(clips->y2 - clips->y1); in do_dmabuf_dirty_ldu()
857 struct drm_clip_rect *clips, in do_dmabuf_dirty_sou() argument
894 clips_ptr = clips; in do_dmabuf_dirty_sou()
952 struct drm_clip_rect *clips, in vmw_framebuffer_dmabuf_dirty() argument
971 clips = &norect; in vmw_framebuffer_dmabuf_dirty()
983 clips, num_clips, increment); in vmw_framebuffer_dmabuf_dirty()
987 clips, num_clips, increment, NULL); in vmw_framebuffer_dmabuf_dirty()
1227 struct drm_vmw_rect *clips, in vmw_kms_present() argument
1252 BUG_ON(!clips || !num_clips); in vmw_kms_present()
1268 left = clips->x; in vmw_kms_present()
1269 right = clips->x + clips->w; in vmw_kms_present()
1270 top = clips->y; in vmw_kms_present()
1271 bottom = clips->y + clips->h; in vmw_kms_present()
1274 left = min_t(int, left, (int)clips[i].x); in vmw_kms_present()
1275 right = max_t(int, right, (int)clips[i].x + clips[i].w); in vmw_kms_present()
1276 top = min_t(int, top, (int)clips[i].y); in vmw_kms_present()
1277 bottom = max_t(int, bottom, (int)clips[i].y + clips[i].h); in vmw_kms_present()
1292 tmp[i].x1 = clips[i].x - left; in vmw_kms_present()
1293 tmp[i].x2 = clips[i].x + clips[i].w - left; in vmw_kms_present()
1294 tmp[i].y1 = clips[i].y - top; in vmw_kms_present()
1295 tmp[i].y2 = clips[i].y + clips[i].h - top; in vmw_kms_present()
1361 struct drm_vmw_rect *clips, in vmw_kms_readback() argument
1389 BUG_ON(!clips || !num_clips); in vmw_kms_readback()
1411 struct drm_vmw_rect *c = clips; in vmw_kms_readback()
1728 struct drm_clip_rect clips; in vmw_du_page_flip() local
1745 clips.x1 = clips.y1 = 0; in vmw_du_page_flip()
1746 clips.x2 = fb->width; in vmw_du_page_flip()
1747 clips.y2 = fb->height; in vmw_du_page_flip()
1751 0, 0, &clips, 1, 1, &fence); in vmw_du_page_flip()
1754 0, 0, &clips, 1, 1, &fence); in vmw_du_page_flip()