/Linux-v5.10/drivers/gpu/drm/ |
D | drm_damage_helper.c | 77 uint32_t num_clips, uint32_t src_inc) in convert_clip_rect_to_rect() argument 79 while (num_clips > 0) { in convert_clip_rect_to_rect() 86 num_clips--; in convert_clip_rect_to_rect() 163 unsigned int num_clips) in drm_atomic_helper_dirtyfb() argument 191 num_clips /= 2; in drm_atomic_helper_dirtyfb() 194 rects = kcalloc(num_clips, sizeof(*rects), GFP_KERNEL); in drm_atomic_helper_dirtyfb() 200 convert_clip_rect_to_rect(clips, rects, num_clips, inc); in drm_atomic_helper_dirtyfb() 202 num_clips * sizeof(*rects), in drm_atomic_helper_dirtyfb() 286 iter->num_clips = drm_plane_get_damage_clips_count(state); in drm_atomic_helper_damage_iter_init() 296 iter->num_clips = 0; in drm_atomic_helper_damage_iter_init() [all …]
|
D | drm_framebuffer.c | 703 int num_clips; in drm_mode_dirtyfb_ioctl() local 713 num_clips = r->num_clips; in drm_mode_dirtyfb_ioctl() 716 if (!num_clips != !clips_ptr) { in drm_mode_dirtyfb_ioctl() 724 if (flags & DRM_MODE_FB_DIRTY_ANNOTATE_COPY && (num_clips % 2)) { in drm_mode_dirtyfb_ioctl() 729 if (num_clips && clips_ptr) { in drm_mode_dirtyfb_ioctl() 730 if (num_clips < 0 || num_clips > DRM_MODE_FB_DIRTY_MAX_CLIPS) { in drm_mode_dirtyfb_ioctl() 734 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in drm_mode_dirtyfb_ioctl() 741 num_clips * sizeof(*clips)); in drm_mode_dirtyfb_ioctl() 750 clips, num_clips); in drm_mode_dirtyfb_ioctl()
|
D | drm_atomic.c | 547 uint32_t num_clips; in drm_atomic_plane_check() local 623 num_clips = drm_plane_get_damage_clips_count(new_plane_state); in drm_atomic_plane_check() 626 while (num_clips > 0) { in drm_atomic_plane_check() 639 num_clips--; in drm_atomic_plane_check()
|
/Linux-v5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ioctl.c | 267 uint32_t num_clips; in vmw_present_ioctl() local 270 num_clips = arg->num_clips; in vmw_present_ioctl() 273 if (unlikely(num_clips == 0)) in vmw_present_ioctl() 282 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in vmw_present_ioctl() 289 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); in vmw_present_ioctl() 320 clips, num_clips); in vmw_present_ioctl() 350 uint32_t num_clips; in vmw_present_readback_ioctl() local 353 num_clips = arg->num_clips; in vmw_present_readback_ioctl() 356 if (unlikely(num_clips == 0)) in vmw_present_readback_ioctl() 365 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in vmw_present_readback_ioctl() [all …]
|
D | vmwgfx_kms.h | 420 int num_clips, 435 uint32_t num_clips); 501 unsigned int num_clips, int increment); 504 unsigned num_clips, 518 unsigned num_clips, int inc, 525 unsigned int num_clips, int increment, 534 uint32_t num_clips, 548 unsigned num_clips, int inc, 557 uint32_t num_clips,
|
D | vmwgfx_kms.c | 859 uint32_t num_clips) in vmw_kms_readback() argument 864 user_fence_rep, vclips, num_clips, in vmw_kms_readback() 868 user_fence_rep, NULL, vclips, num_clips, in vmw_kms_readback() 996 unsigned int num_clips) in vmw_framebuffer_bo_dirty() argument 1012 if (!num_clips) { in vmw_framebuffer_bo_dirty() 1013 num_clips = 1; in vmw_framebuffer_bo_dirty() 1019 num_clips /= 2; in vmw_framebuffer_bo_dirty() 1026 clips, num_clips, increment); in vmw_framebuffer_bo_dirty() 1046 unsigned int num_clips) in vmw_framebuffer_bo_dirty_ext() argument 1052 color, clips, num_clips); in vmw_framebuffer_bo_dirty_ext() [all …]
|
D | vmwgfx_scrn.c | 1130 unsigned num_clips, int inc, in vmw_kms_sou_do_surface_dirty() argument 1156 sizeof(SVGASignedRect) * num_clips; in vmw_kms_sou_do_surface_dirty() 1166 dest_x, dest_y, num_clips, inc, in vmw_kms_sou_do_surface_dirty() 1243 unsigned num_clips, int increment, in vmw_kms_sou_do_bo_dirty() argument 1271 num_clips; in vmw_kms_sou_do_bo_dirty() 1273 0, 0, num_clips, increment, &dirty); in vmw_kms_sou_do_bo_dirty() 1352 uint32_t num_clips, in vmw_kms_sou_readback() argument 1377 num_clips; in vmw_kms_sou_readback() 1379 0, 0, num_clips, 1, &dirty); in vmw_kms_sou_readback()
|
D | vmwgfx_ldu.c | 546 unsigned int num_clips, int increment) in vmw_kms_ldu_do_bo_dirty() argument 556 fifo_size = sizeof(*cmd) * num_clips; in vmw_kms_ldu_do_bo_dirty() 562 for (i = 0; i < num_clips; i++, clips += increment) { in vmw_kms_ldu_do_bo_dirty()
|
D | vmwgfx_stdu.c | 677 uint32_t num_clips, in vmw_kms_stdu_dma() argument 713 num_clips * sizeof(SVGA3dCopyBox) + in vmw_kms_stdu_dma() 728 0, 0, num_clips, increment, &ddirty.base); in vmw_kms_stdu_dma() 855 unsigned num_clips, int inc, in vmw_kms_stdu_surface_dirty() argument 878 ret = vmw_kms_update_proxy(srf, clips, num_clips, inc); in vmw_kms_stdu_surface_dirty() 886 sizeof(SVGA3dCopyBox) * num_clips + in vmw_kms_stdu_surface_dirty() 894 dest_x, dest_y, num_clips, inc, in vmw_kms_stdu_surface_dirty()
|
D | vmwgfx_drv.h | 1181 uint32_t num_clips);
|
/Linux-v5.10/drivers/gpu/drm/qxl/ |
D | qxl_draw.c | 30 unsigned int num_clips, in alloc_clips() argument 33 int size = sizeof(struct qxl_clip_rects) + sizeof(struct qxl_rect) * num_clips; in alloc_clips() 42 unsigned int num_clips, in drawable_set_clipping() argument 52 dev_clips->num_rects = num_clips; in drawable_set_clipping() 55 dev_clips->chunk.data_size = sizeof(struct qxl_rect) * num_clips; in drawable_set_clipping() 126 unsigned int num_clips, int inc, in qxl_draw_dirty_fb() argument 165 i < num_clips; i++, clips_ptr += inc) { in qxl_draw_dirty_fb() 175 ret = alloc_clips(qdev, release, num_clips, &clips_bo); in qxl_draw_dirty_fb() 211 rects = drawable_set_clipping(qdev, num_clips, clips_bo); in qxl_draw_dirty_fb() 238 for (i = 0; i < num_clips; i++, clips_ptr += inc) { in qxl_draw_dirty_fb()
|
D | qxl_display.c | 402 unsigned int num_clips) in qxl_framebuffer_surface_dirty() argument 420 if (!num_clips) { in qxl_framebuffer_surface_dirty() 421 num_clips = 1; in qxl_framebuffer_surface_dirty() 427 num_clips /= 2; in qxl_framebuffer_surface_dirty() 432 clips, num_clips, inc, 0); in qxl_framebuffer_surface_dirty()
|
D | qxl_drv.h | 424 unsigned int num_clips, int inc,
|
/Linux-v5.10/include/drm/ |
D | drm_damage_helper.h | 60 uint32_t num_clips; member 73 unsigned int num_clips);
|
D | drm_framebuffer.h | 100 unsigned num_clips);
|
/Linux-v5.10/include/uapi/drm/ |
D | vmwgfx_drm.h | 768 __u32 num_clips; member 794 __u32 num_clips; member
|
D | drm_mode.h | 568 __u32 num_clips; member
|
/Linux-v5.10/drivers/gpu/drm/vboxvideo/ |
D | vbox_mode.c | 277 uint32_t num_clips, i; in vbox_primary_atomic_update() local 286 num_clips = drm_plane_get_damage_clips_count(plane->state); in vbox_primary_atomic_update() 288 if (!num_clips) in vbox_primary_atomic_update() 293 for (i = 0; i < num_clips; ++i, ++clips) { in vbox_primary_atomic_update()
|
/Linux-v5.10/drivers/gpu/drm/omapdrm/ |
D | omap_fb.c | 62 unsigned num_clips) in omap_framebuffer_dirty() argument
|
/Linux-v5.10/drivers/gpu/drm/i915/display/ |
D | intel_display.c | 17161 unsigned num_clips) in intel_user_framebuffer_dirty() argument
|