Home
last modified time | relevance | path

Searched refs:clips_ptr (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/sys/external/bsd/drm2/dist/drm/qxl/
H A Dqxl_draw.c140 struct drm_clip_rect *clips_ptr; in qxl_draw_dirty_fb() local
169 for (i = 1, clips_ptr = clips + inc; in qxl_draw_dirty_fb()
170 i < num_clips; i++, clips_ptr += inc) { in qxl_draw_dirty_fb()
171 left = min_t(int, left, (int)clips_ptr->x1); in qxl_draw_dirty_fb()
172 right = max_t(int, right, (int)clips_ptr->x2); in qxl_draw_dirty_fb()
173 top = min_t(int, top, (int)clips_ptr->y1); in qxl_draw_dirty_fb()
174 bottom = max_t(int, bottom, (int)clips_ptr->y2); in qxl_draw_dirty_fb()
241 clips_ptr = clips; in qxl_draw_dirty_fb()
242 for (i = 0; i < num_clips; i++, clips_ptr += inc) { in qxl_draw_dirty_fb()
243 rects[i].left = clips_ptr->x1; in qxl_draw_dirty_fb()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_ioctl.c261 struct drm_vmw_rect __user *clips_ptr; in vmw_present_ioctl() local
270 clips_ptr = (struct drm_vmw_rect __user *)(unsigned long)arg->clips_ptr; in vmw_present_ioctl()
275 if (clips_ptr == NULL) { in vmw_present_ioctl()
288 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); in vmw_present_ioctl()
345 struct drm_vmw_rect __user *clips_ptr; in vmw_present_readback_ioctl() local
353 clips_ptr = (struct drm_vmw_rect __user *)(unsigned long)arg->clips_ptr; in vmw_present_readback_ioctl()
358 if (clips_ptr == NULL) { in vmw_present_readback_ioctl()
371 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); in vmw_present_readback_ioctl()
H A Dvmwgfx_kms.c2478 const struct drm_clip_rect *clips_ptr = clips; in vmw_kms_helper_dirty() local
2491 for (i = 0; i < num_clips; i++, clips_ptr += increment, in vmw_kms_helper_dirty()
2502 dirty->fb_x = (s32) clips_ptr->x1; in vmw_kms_helper_dirty()
2503 dirty->fb_y = (s32) clips_ptr->y1; in vmw_kms_helper_dirty()
2504 dirty->unit_x2 = (s32) clips_ptr->x2 + dest_x - in vmw_kms_helper_dirty()
2506 dirty->unit_y2 = (s32) clips_ptr->y2 + dest_y - in vmw_kms_helper_dirty()
/netbsd-src/sys/external/bsd/drm2/dist/drm/
H A Ddrm_framebuffer.c583 struct drm_clip_rect __user *clips_ptr; in drm_mode_dirtyfb_ioctl() local
599 clips_ptr = (struct drm_clip_rect __user *)(unsigned long)r->clips_ptr; in drm_mode_dirtyfb_ioctl()
601 if (!num_clips != !clips_ptr) { in drm_mode_dirtyfb_ioctl()
614 if (num_clips && clips_ptr) { in drm_mode_dirtyfb_ioctl()
625 ret = copy_from_user(clips, clips_ptr, in drm_mode_dirtyfb_ioctl()
/netbsd-src/sys/external/bsd/drm2/dist/include/uapi/drm/
H A Dvmwgfx_drm.h765 __u64 clips_ptr; member
793 __u64 clips_ptr; member
H A Ddrm_mode.h566 __u64 clips_ptr; member