| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_ioctl.c | 184 uint32_t num_clips; in vmw_present_ioctl() local 187 num_clips = arg->num_clips; in vmw_present_ioctl() 190 if (unlikely(num_clips == 0)) in vmw_present_ioctl() 199 clips = kzalloc_objs(*clips, num_clips); in vmw_present_ioctl() 206 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); in vmw_present_ioctl() 233 clips, num_clips); in vmw_present_ioctl() 261 uint32_t num_clips; in vmw_present_readback_ioctl() local 264 num_clips = arg->num_clips; in vmw_present_readback_ioctl() 267 if (unlikely(num_clips == 0)) in vmw_present_readback_ioctl() 276 clips = kzalloc_objs(*clips, num_clips); in vmw_present_readback_ioctl() [all …]
|
| H A D | vmwgfx_kms.h | 378 int num_clips, 396 uint32_t num_clips); 442 unsigned num_clips, 456 unsigned num_clips, int inc, 463 unsigned int num_clips, int increment, 472 uint32_t num_clips, 486 unsigned num_clips, int inc, 495 uint32_t num_clips,
|
| H A D | vmwgfx_scrn.c | 1084 * @num_clips: Number of clip rects in @clips. 1101 unsigned num_clips, int inc, in vmw_kms_sou_do_surface_dirty() 1127 sizeof(SVGASignedRect) * num_clips; in vmw_kms_sou_do_surface_dirty() 1137 dest_x, dest_y, num_clips, inc, in vmw_kms_sou_do_surface_dirty() 1199 * @num_clips: Number of clip rects in @clips. 1214 unsigned num_clips, int increment, in vmw_kms_sou_do_bo_dirty() 1244 num_clips; in vmw_kms_sou_do_bo_dirty() 1246 0, 0, num_clips, increment, &dirty); in vmw_kms_sou_do_bo_dirty() 1314 * @num_clips: Number of clip rects in @vclips. 1325 uint32_t num_clips, in vmw_kms_sou_readback() 1100 vmw_kms_sou_do_surface_dirty(struct vmw_private * dev_priv,struct vmw_framebuffer * framebuffer,struct drm_clip_rect * clips,struct drm_vmw_rect * vclips,struct vmw_resource * srf,s32 dest_x,s32 dest_y,unsigned num_clips,int inc,struct vmw_fence_obj ** out_fence,struct drm_crtc * crtc) vmw_kms_sou_do_surface_dirty() argument 1213 vmw_kms_sou_do_bo_dirty(struct vmw_private * dev_priv,struct vmw_framebuffer * framebuffer,struct drm_clip_rect * clips,struct drm_vmw_rect * vclips,unsigned num_clips,int increment,bool interruptible,struct vmw_fence_obj ** out_fence,struct drm_crtc * crtc) vmw_kms_sou_do_bo_dirty() argument 1324 vmw_kms_sou_readback(struct vmw_private * dev_priv,struct drm_file * file_priv,struct vmw_framebuffer * vfb,struct drm_vmw_fence_rep __user * user_fence_rep,struct drm_vmw_rect * vclips,uint32_t num_clips,struct drm_crtc * crtc) vmw_kms_sou_readback() argument [all...] |
| H A D | vmwgfx_kms.c | 453 * @num_clips: Number of clip rects in @vclips. 463 uint32_t num_clips) in vmw_kms_readback() argument 468 user_fence_rep, vclips, num_clips, in vmw_kms_readback() 472 user_fence_rep, NULL, vclips, num_clips, in vmw_kms_readback() 1079 uint32_t num_clips) in vmw_kms_generic_present() argument 1083 num_clips, 1, NULL, NULL); in vmw_kms_generic_present() 1094 uint32_t num_clips) in vmw_kms_present() argument 1102 num_clips, 1, NULL, NULL); in vmw_kms_present() 1107 num_clips); in vmw_kms_present() 1500 * @num_clips 1510 vmw_kms_helper_dirty(struct vmw_private * dev_priv,struct vmw_framebuffer * framebuffer,const struct drm_clip_rect * clips,const struct drm_vmw_rect * vclips,s32 dest_x,s32 dest_y,int num_clips,int increment,struct vmw_kms_dirty * dirty) vmw_kms_helper_dirty() argument [all...] |
| H A D | vmwgfx_ldu.c | 305 unsigned int num_clips); 597 unsigned int num_clips) in vmw_kms_ldu_do_bo_dirty() 607 fifo_size = sizeof(*cmd) * num_clips; in vmw_kms_ldu_do_bo_dirty() 613 for (i = 0; i < num_clips; i++, clips++) { in vmw_kms_ldu_do_bo_dirty() 596 vmw_kms_ldu_do_bo_dirty(struct vmw_private * dev_priv,struct vmw_framebuffer * framebuffer,unsigned int flags,unsigned int color,struct drm_mode_rect * clips,unsigned int num_clips) vmw_kms_ldu_do_bo_dirty() argument
|
| H A D | vmwgfx_stdu.c | 544 * @num_clips: Number of clip rects in @clips or @vclips. 561 uint32_t num_clips, in vmw_kms_stdu_readback() argument 602 0, 0, num_clips, increment, &ddirty.base); in vmw_kms_stdu_readback() 712 * @num_clips: Number of clip rects in @clips. 729 unsigned num_clips, int inc, in vmw_kms_stdu_surface_dirty() argument 754 sizeof(SVGA3dCopyBox) * num_clips + in vmw_kms_stdu_surface_dirty() 762 dest_x, dest_y, num_clips, inc, in vmw_kms_stdu_surface_dirty()
|
| H A D | vmwgfx_drv.h | 1057 uint32_t num_clips);
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_damage_helper.c | 42 uint32_t num_clips, uint32_t src_inc) in convert_clip_rect_to_rect() argument 44 while (num_clips > 0) { in convert_clip_rect_to_rect() 51 num_clips--; in convert_clip_rect_to_rect() 96 * @num_clips: Count of clip in clips. 99 * during plane update. If num_clips is 0 then this helper will do a full plane 112 unsigned int num_clips) in drm_atomic_helper_dirtyfb() argument 140 num_clips /= 2; in drm_atomic_helper_dirtyfb() 143 rects = kzalloc_objs(*rects, num_clips); in drm_atomic_helper_dirtyfb() 149 convert_clip_rect_to_rect(clips, rects, num_clips, inc); in drm_atomic_helper_dirtyfb() 151 num_clips * sizeo in drm_atomic_helper_dirtyfb() [all...] |
| H A D | drm_framebuffer.c | 719 int num_clips; in drm_mode_dirtyfb_ioctl() local 729 num_clips = r->num_clips; in drm_mode_dirtyfb_ioctl() 732 if (!num_clips != !clips_ptr) { in drm_mode_dirtyfb_ioctl() 740 if (flags & DRM_MODE_FB_DIRTY_ANNOTATE_COPY && (num_clips % 2)) { in drm_mode_dirtyfb_ioctl() 745 if (num_clips && clips_ptr) { in drm_mode_dirtyfb_ioctl() 746 if (num_clips < 0 || num_clips > DRM_MODE_FB_DIRTY_MAX_CLIPS) { in drm_mode_dirtyfb_ioctl() 750 clips = kzalloc_objs(*clips, num_clips); in drm_mode_dirtyfb_ioctl() 757 num_clips * sizeo in drm_mode_dirtyfb_ioctl() [all...] |
| /linux/drivers/gpu/drm/qxl/ |
| H A D | qxl_draw.c | 33 unsigned int num_clips, in alloc_clips() argument 36 int size = sizeof(struct qxl_clip_rects) + sizeof(struct qxl_rect) * num_clips; in alloc_clips() 45 unsigned int num_clips, in drawable_set_clipping() argument 57 dev_clips->num_rects = num_clips; in drawable_set_clipping() 60 dev_clips->chunk.data_size = sizeof(struct qxl_rect) * num_clips; in drawable_set_clipping() 131 unsigned int num_clips, int inc, in qxl_draw_dirty_fb() argument 171 i < num_clips; i++, clips_ptr += inc) { in qxl_draw_dirty_fb() 181 ret = alloc_clips(qdev, release, num_clips, &clips_bo); in qxl_draw_dirty_fb() 218 rects = drawable_set_clipping(qdev, num_clips, clips_bo); in qxl_draw_dirty_fb() 245 for (i = 0; i < num_clips; i++, clips_ptr += inc) { in qxl_draw_dirty_fb()
|
| H A D | qxl_display.c | 431 unsigned int num_clips) in qxl_framebuffer_surface_dirty() argument 449 if (!num_clips) { in qxl_framebuffer_surface_dirty() 450 num_clips = 1; in qxl_framebuffer_surface_dirty() 456 num_clips /= 2; in qxl_framebuffer_surface_dirty() 461 clips, num_clips, inc, 0); in qxl_framebuffer_surface_dirty()
|
| H A D | qxl_drv.h | 396 unsigned int num_clips, int inc,
|
| /linux/include/uapi/drm/ |
| H A D | vmwgfx_drm.h | 780 __u32 num_clips; member 806 __u32 num_clips; member
|
| /linux/drivers/gpu/drm/vboxvideo/ |
| H A D | vbox_mode.c | 287 uint32_t num_clips, i; in vbox_primary_atomic_update() local 296 num_clips = drm_plane_get_damage_clips_count(new_state); in vbox_primary_atomic_update() 298 if (!num_clips) in vbox_primary_atomic_update() 303 for (i = 0; i < num_clips; ++i, ++clips) { in vbox_primary_atomic_update()
|
| /linux/include/drm/ |
| H A D | drm_framebuffer.h | 101 unsigned num_clips);
|
| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | omap_fb.c | 66 unsigned num_clips) in omap_framebuffer_dirty() argument
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm.c | 6617 u32 num_clips; in convert_color_depth_from_display_info() 6634 num_clips = drm_plane_get_damage_clips_count(new_plane_state); in convert_color_depth_from_display_info() 6637 if (num_clips && (!amdgpu_damage_clips || (amdgpu_damage_clips < 0 && in convert_color_depth_from_display_info() 6642 if (!num_clips || num_clips > DC_MAX_DIRTY_RECTS) in convert_color_depth_from_display_info() 6645 for (; flip_addrs->dirty_rect_count < num_clips; clips++) 6670 "[PLANE:%d] PSR bb_changed:%d fb_changed:%d num_clips:%d\n", in get_output_color_space() 6672 bb_changed, fb_changed, num_clips); in get_output_color_space() 6676 if ((num_clips + (bb_changed ? 2 : 0)) > DC_MAX_DIRTY_RECTS) in get_output_color_space() 6694 if (num_clips) { in get_output_color_space() 6426 u32 num_clips; fill_dc_dirty_rects() local [all...] |