Home
last modified time | relevance | path

Searched refs:num_clips (Results 1 – 19 of 19) sorted by relevance

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ioctl.c258 uint32_t num_clips; in vmw_present_ioctl() local
261 num_clips = arg->num_clips; in vmw_present_ioctl()
264 if (unlikely(num_clips == 0)) in vmw_present_ioctl()
273 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in vmw_present_ioctl()
280 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); in vmw_present_ioctl()
311 clips, num_clips); in vmw_present_ioctl()
341 uint32_t num_clips; in vmw_present_readback_ioctl() local
344 num_clips = arg->num_clips; in vmw_present_readback_ioctl()
347 if (unlikely(num_clips == 0)) in vmw_present_readback_ioctl()
356 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in vmw_present_readback_ioctl()
[all …]
Dvmwgfx_kms.h222 int num_clips,
248 uint32_t num_clips);
273 unsigned num_clips, int increment);
276 unsigned num_clips,
291 unsigned num_clips, int inc,
296 unsigned num_clips, int increment,
304 uint32_t num_clips);
318 unsigned num_clips, int inc,
326 uint32_t num_clips,
Dvmwgfx_kms.c422 unsigned num_clips) in vmw_framebuffer_surface_dirty() argument
442 if (!num_clips) { in vmw_framebuffer_surface_dirty()
443 num_clips = 1; in vmw_framebuffer_surface_dirty()
449 num_clips /= 2; in vmw_framebuffer_surface_dirty()
456 num_clips, inc, NULL); in vmw_framebuffer_surface_dirty()
460 num_clips, inc, NULL); in vmw_framebuffer_surface_dirty()
491 uint32_t num_clips) in vmw_kms_readback() argument
496 user_fence_rep, vclips, num_clips); in vmw_kms_readback()
499 user_fence_rep, NULL, vclips, num_clips, in vmw_kms_readback()
630 unsigned num_clips) in vmw_framebuffer_dmabuf_dirty() argument
[all …]
Dvmwgfx_scrn.c838 unsigned num_clips, int inc, in vmw_kms_sou_do_surface_dirty() argument
858 sizeof(SVGASignedRect) * num_clips; in vmw_kms_sou_do_surface_dirty()
867 dest_x, dest_y, num_clips, inc, in vmw_kms_sou_do_surface_dirty()
930 unsigned num_clips, int increment, in vmw_kms_sou_do_dmabuf_dirty() argument
952 num_clips; in vmw_kms_sou_do_dmabuf_dirty()
954 0, 0, num_clips, increment, &dirty); in vmw_kms_sou_do_dmabuf_dirty()
1024 uint32_t num_clips) in vmw_kms_sou_readback() argument
1042 num_clips; in vmw_kms_sou_readback()
1044 0, 0, num_clips, 1, &dirty); in vmw_kms_sou_readback()
Dvmwgfx_stdu.c849 uint32_t num_clips, in vmw_kms_stdu_dma() argument
873 num_clips * sizeof(SVGA3dCopyBox) + in vmw_kms_stdu_dma()
879 0, 0, num_clips, increment, &ddirty.base); in vmw_kms_stdu_dma()
1000 unsigned num_clips, int inc, in vmw_kms_stdu_surface_dirty() argument
1017 ret = vmw_kms_update_proxy(srf, clips, num_clips, inc); in vmw_kms_stdu_surface_dirty()
1025 sizeof(SVGA3dCopyBox) * num_clips + in vmw_kms_stdu_surface_dirty()
1032 dest_x, dest_y, num_clips, inc, in vmw_kms_stdu_surface_dirty()
Dvmwgfx_ldu.c460 unsigned num_clips, int increment) in vmw_kms_ldu_do_dmabuf_dirty() argument
470 fifo_size = sizeof(*cmd) * num_clips; in vmw_kms_ldu_do_dmabuf_dirty()
478 for (i = 0; i < num_clips; i++, clips += increment) { in vmw_kms_ldu_do_dmabuf_dirty()
Dvmwgfx_drv.h926 uint32_t num_clips);
/drivers/gpu/drm/qxl/
Dqxl_draw.c28 unsigned num_clips, in alloc_clips() argument
31 int size = sizeof(struct qxl_clip_rects) + sizeof(struct qxl_rect) * num_clips; in alloc_clips()
41 unsigned num_clips, in drawable_set_clipping() argument
51 dev_clips->num_rects = num_clips; in drawable_set_clipping()
54 dev_clips->chunk.data_size = sizeof(struct qxl_rect) * num_clips; in drawable_set_clipping()
273 unsigned num_clips, int inc) in qxl_draw_dirty_fb() argument
308 i < num_clips; i++, clips_ptr += inc) { in qxl_draw_dirty_fb()
318 ret = alloc_clips(qdev, release, num_clips, &clips_bo); in qxl_draw_dirty_fb()
354 rects = drawable_set_clipping(qdev, drawable, num_clips, clips_bo); in qxl_draw_dirty_fb()
381 for (i = 0; i < num_clips; i++, clips_ptr += inc) { in qxl_draw_dirty_fb()
Dqxl_display.c482 unsigned num_clips) in qxl_framebuffer_surface_dirty() argument
500 if (!num_clips) { in qxl_framebuffer_surface_dirty()
501 num_clips = 1; in qxl_framebuffer_surface_dirty()
507 num_clips /= 2; in qxl_framebuffer_surface_dirty()
512 clips, num_clips, inc); in qxl_framebuffer_surface_dirty()
Dqxl_drv.h515 unsigned num_clips, int inc);
/drivers/gpu/drm/virtio/
Dvirtgpu_fb.c122 unsigned num_clips) in virtio_gpu_surface_dirty() argument
131 if (!num_clips) { in virtio_gpu_surface_dirty()
132 num_clips = 1; in virtio_gpu_surface_dirty()
145 i < num_clips; i++, clips_ptr += inc) { in virtio_gpu_surface_dirty()
Dvirtgpu_display.c202 unsigned num_clips) in virtio_gpu_framebuffer_surface_dirty() argument
207 return virtio_gpu_surface_dirty(virtio_gpu_fb, clips, num_clips); in virtio_gpu_framebuffer_surface_dirty()
Dvirtgpu_drv.h252 unsigned num_clips);
/drivers/gpu/drm/exynos/
Dexynos_drm_fb.c105 unsigned num_clips) in exynos_drm_fb_dirty() argument
/drivers/gpu/drm/
Ddrm_crtc.c3486 int num_clips; in drm_mode_dirtyfb_ioctl() local
3496 num_clips = r->num_clips; in drm_mode_dirtyfb_ioctl()
3499 if (!num_clips != !clips_ptr) { in drm_mode_dirtyfb_ioctl()
3507 if (flags & DRM_MODE_FB_DIRTY_ANNOTATE_COPY && (num_clips % 2)) { in drm_mode_dirtyfb_ioctl()
3512 if (num_clips && clips_ptr) { in drm_mode_dirtyfb_ioctl()
3513 if (num_clips < 0 || num_clips > DRM_MODE_FB_DIRTY_MAX_CLIPS) { in drm_mode_dirtyfb_ioctl()
3517 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in drm_mode_dirtyfb_ioctl()
3524 num_clips * sizeof(*clips)); in drm_mode_dirtyfb_ioctl()
3533 clips, num_clips); in drm_mode_dirtyfb_ioctl()
/drivers/gpu/drm/msm/
Dmsm_fb.c61 struct drm_clip_rect *clips, unsigned num_clips) in msm_framebuffer_dirty() argument
/drivers/gpu/drm/udl/
Dudl_fb.c405 unsigned num_clips) in udl_user_framebuffer_dirty() argument
424 for (i = 0; i < num_clips; i++) { in udl_user_framebuffer_dirty()
/drivers/gpu/drm/omapdrm/
Domap_fb.c125 struct drm_clip_rect *clips, unsigned num_clips) in omap_framebuffer_dirty() argument
/drivers/gpu/drm/i915/
Dintel_display.c14304 unsigned num_clips) in intel_user_framebuffer_dirty() argument