Searched refs:num_clips (Results 1 – 7 of 7) sorted by relevance
| /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 …]
|
| /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_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/include/drm/ |
| H A D | drm_framebuffer.h | 101 unsigned num_clips);
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm.c | 3160 u32 num_clips = 0; in fill_dc_dirty_rects() local 3178 num_clips = drm_plane_get_damage_clips_count(new_plane_state); in fill_dc_dirty_rects() 3182 if (num_clips && (!amdgpu_damage_clips || (amdgpu_damage_clips < 0 && in fill_dc_dirty_rects() 3187 if (!num_clips || num_clips > DC_MAX_DIRTY_RECTS) in fill_dc_dirty_rects() 3190 for (; flip_addrs->dirty_rect_count < num_clips; clips++) in fill_dc_dirty_rects() 3217 bb_changed, fb_changed, num_clips); in fill_dc_dirty_rects() 3221 if ((num_clips + (bb_changed ? 2 : 0)) > DC_MAX_DIRTY_RECTS) in fill_dc_dirty_rects() 3239 if (num_clips) { in fill_dc_dirty_rects() 3240 for (; i < num_clips; clips++) in fill_dc_dirty_rects()
|
| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | omap_fb.c | 66 unsigned num_clips) in omap_framebuffer_dirty() argument
|