/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ioctl.c | 258 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 …]
|
D | vmwgfx_kms.h | 222 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,
|
D | vmwgfx_kms.c | 422 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 …]
|
D | vmwgfx_scrn.c | 838 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()
|
D | vmwgfx_stdu.c | 849 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()
|
D | vmwgfx_ldu.c | 460 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()
|
D | vmwgfx_drv.h | 926 uint32_t num_clips);
|
/drivers/gpu/drm/qxl/ |
D | qxl_draw.c | 28 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()
|
D | qxl_display.c | 482 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()
|
D | qxl_drv.h | 515 unsigned num_clips, int inc);
|
/drivers/gpu/drm/virtio/ |
D | virtgpu_fb.c | 122 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()
|
D | virtgpu_display.c | 202 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()
|
D | virtgpu_drv.h | 252 unsigned num_clips);
|
/drivers/gpu/drm/exynos/ |
D | exynos_drm_fb.c | 105 unsigned num_clips) in exynos_drm_fb_dirty() argument
|
/drivers/gpu/drm/ |
D | drm_crtc.c | 3486 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/ |
D | msm_fb.c | 61 struct drm_clip_rect *clips, unsigned num_clips) in msm_framebuffer_dirty() argument
|
/drivers/gpu/drm/udl/ |
D | udl_fb.c | 405 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/ |
D | omap_fb.c | 125 struct drm_clip_rect *clips, unsigned num_clips) in omap_framebuffer_dirty() argument
|
/drivers/gpu/drm/i915/ |
D | intel_display.c | 14304 unsigned num_clips) in intel_user_framebuffer_dirty() argument
|