Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/qxl/
Dqxl_draw.c277 struct drm_clip_rect *clips_ptr; in qxl_draw_dirty_fb() local
303 for (i = 1, clips_ptr = clips + inc; in qxl_draw_dirty_fb()
304 i < num_clips; i++, clips_ptr += inc) { in qxl_draw_dirty_fb()
305 left = min_t(int, left, (int)clips_ptr->x1); in qxl_draw_dirty_fb()
306 right = max_t(int, right, (int)clips_ptr->x2); in qxl_draw_dirty_fb()
307 top = min_t(int, top, (int)clips_ptr->y1); in qxl_draw_dirty_fb()
308 bottom = max_t(int, bottom, (int)clips_ptr->y2); in qxl_draw_dirty_fb()
375 clips_ptr = clips; in qxl_draw_dirty_fb()
376 for (i = 0; i < num_clips; i++, clips_ptr += inc) { in qxl_draw_dirty_fb()
377 rects[i].left = clips_ptr->x1; in qxl_draw_dirty_fb()
[all …]
/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ioctl.c256 struct drm_vmw_rect __user *clips_ptr; in vmw_present_ioctl() local
265 clips_ptr = (struct drm_vmw_rect __user *)(unsigned long)arg->clips_ptr; in vmw_present_ioctl()
270 if (clips_ptr == NULL) { in vmw_present_ioctl()
283 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); in vmw_present_ioctl()
340 struct drm_vmw_rect __user *clips_ptr; in vmw_present_readback_ioctl() local
348 clips_ptr = (struct drm_vmw_rect __user *)(unsigned long)arg->clips_ptr; in vmw_present_readback_ioctl()
353 if (clips_ptr == NULL) { in vmw_present_readback_ioctl()
366 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); in vmw_present_readback_ioctl()
Dvmwgfx_kms.c2506 const struct drm_clip_rect *clips_ptr = clips; in vmw_kms_helper_dirty() local
2521 for (i = 0; i < num_clips; i++, clips_ptr += increment, in vmw_kms_helper_dirty()
2532 dirty->fb_x = (s32) clips_ptr->x1; in vmw_kms_helper_dirty()
2533 dirty->fb_y = (s32) clips_ptr->y1; in vmw_kms_helper_dirty()
2534 dirty->unit_x2 = (s32) clips_ptr->x2 + dest_x - in vmw_kms_helper_dirty()
2536 dirty->unit_y2 = (s32) clips_ptr->y2 + dest_y - in vmw_kms_helper_dirty()
/Linux-v4.19/drivers/gpu/drm/virtio/
Dvirtgpu_fb.c126 struct drm_clip_rect *clips_ptr; in virtio_gpu_surface_dirty() local
144 for (i = 1, clips_ptr = clips + inc; in virtio_gpu_surface_dirty()
145 i < num_clips; i++, clips_ptr += inc) { in virtio_gpu_surface_dirty()
146 left = min_t(int, left, (int)clips_ptr->x1); in virtio_gpu_surface_dirty()
147 right = max_t(int, right, (int)clips_ptr->x2); in virtio_gpu_surface_dirty()
148 top = min_t(int, top, (int)clips_ptr->y1); in virtio_gpu_surface_dirty()
149 bottom = max_t(int, bottom, (int)clips_ptr->y2); in virtio_gpu_surface_dirty()
/Linux-v4.19/drivers/gpu/drm/
Ddrm_framebuffer.c535 struct drm_clip_rect __user *clips_ptr; in drm_mode_dirtyfb_ioctl() local
551 clips_ptr = (struct drm_clip_rect __user *)(unsigned long)r->clips_ptr; in drm_mode_dirtyfb_ioctl()
553 if (!num_clips != !clips_ptr) { in drm_mode_dirtyfb_ioctl()
566 if (num_clips && clips_ptr) { in drm_mode_dirtyfb_ioctl()
577 ret = copy_from_user(clips, clips_ptr, in drm_mode_dirtyfb_ioctl()
/Linux-v4.19/include/uapi/drm/
Dvmwgfx_drm.h762 __u64 clips_ptr; member
790 __u64 clips_ptr; member
Ddrm_mode.h554 __u64 clips_ptr; member