Lines Matching refs:num_clips

450 				unsigned num_clips, int inc,  in do_surface_dirty_sou()  argument
476 BUG_ON(!clips || !num_clips); in do_surface_dirty_sou()
478 tmp = kzalloc(sizeof(*tmp) * num_clips, GFP_KERNEL); in do_surface_dirty_sou()
484 fifo_size = sizeof(*cmd) + sizeof(SVGASignedRect) * num_clips; in do_surface_dirty_sou()
503 i < num_clips; i++, clips_ptr += inc) { in do_surface_dirty_sou()
520 for (i = 0; i < num_clips; i++, clips_ptr += inc) { in do_surface_dirty_sou()
564 vmw_clip_cliprects(tmp, num_clips, clip, blits, &num); in do_surface_dirty_sou()
596 unsigned num_clips) in vmw_framebuffer_surface_dirty() argument
619 if (!num_clips) { in vmw_framebuffer_surface_dirty()
620 num_clips = 1; in vmw_framebuffer_surface_dirty()
626 num_clips /= 2; in vmw_framebuffer_surface_dirty()
632 clips, num_clips, inc, NULL); in vmw_framebuffer_surface_dirty()
779 unsigned num_clips, int increment) in do_dmabuf_dirty_ldu() argument
789 fifo_size = sizeof(*cmd) * num_clips; in do_dmabuf_dirty_ldu()
797 for (i = 0; i < num_clips; i++, clips += increment) { in do_dmabuf_dirty_ldu()
858 unsigned num_clips, int increment, in do_dmabuf_dirty_sou() argument
876 fifo_size = sizeof(*blits) * num_clips; in do_dmabuf_dirty_sou()
895 for (i = 0; i < num_clips; i++, clips_ptr += increment) { in do_dmabuf_dirty_sou()
953 unsigned num_clips) in vmw_framebuffer_dmabuf_dirty() argument
969 if (!num_clips) { in vmw_framebuffer_dmabuf_dirty()
970 num_clips = 1; in vmw_framebuffer_dmabuf_dirty()
976 num_clips /= 2; 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()
1228 uint32_t num_clips) in vmw_kms_present() argument
1252 BUG_ON(!clips || !num_clips); in vmw_kms_present()
1254 tmp = kzalloc(sizeof(*tmp) * num_clips, GFP_KERNEL); in vmw_kms_present()
1260 fifo_size = sizeof(*cmd) + sizeof(SVGASignedRect) * num_clips; in vmw_kms_present()
1273 for (i = 1; i < num_clips; i++) { in vmw_kms_present()
1291 for (i = 0; i < num_clips; i++) { in vmw_kms_present()
1334 vmw_clip_cliprects(tmp, num_clips, clip, blits, &num); in vmw_kms_present()
1362 uint32_t num_clips) in vmw_kms_readback() argument
1389 BUG_ON(!clips || !num_clips); in vmw_kms_readback()
1392 fifo_size = sizeof(*cmd) + sizeof(*blits) * num_clips * num_units; in vmw_kms_readback()
1412 for (k = 0; k < num_clips; k++, c++) { in vmw_kms_readback()