Searched refs:clips_ptr (Results 1 - 7 of 7) sorted by relevance
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_ioctl.c | 255 struct drm_vmw_rect __user *clips_ptr; vmw_present_ioctl() local 264 clips_ptr = (struct drm_vmw_rect __user *)(unsigned long)arg->clips_ptr; vmw_present_ioctl() 269 if (clips_ptr == NULL) { vmw_present_ioctl() 270 DRM_ERROR("Variable clips_ptr must be specified.\n"); vmw_present_ioctl() 282 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); vmw_present_ioctl() 339 struct drm_vmw_rect __user *clips_ptr; vmw_present_readback_ioctl() local 347 clips_ptr = (struct drm_vmw_rect __user *)(unsigned long)arg->clips_ptr; vmw_present_readback_ioctl() 352 if (clips_ptr == NULL) { vmw_present_readback_ioctl() 353 DRM_ERROR("Argument clips_ptr must be specified.\n"); vmw_present_readback_ioctl() 365 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); vmw_present_readback_ioctl()
|
H A D | vmwgfx_kms.c | 1746 const struct drm_clip_rect *clips_ptr = clips; vmw_kms_helper_dirty() local 1761 for (i = 0; i < num_clips; i++, clips_ptr += increment, vmw_kms_helper_dirty() 1772 dirty->fb_x = (s32) clips_ptr->x1; vmw_kms_helper_dirty() 1773 dirty->fb_y = (s32) clips_ptr->y1; vmw_kms_helper_dirty() 1774 dirty->unit_x2 = (s32) clips_ptr->x2 + dest_x - vmw_kms_helper_dirty() 1776 dirty->unit_y2 = (s32) clips_ptr->y2 + dest_y - vmw_kms_helper_dirty()
|
/linux-4.4.14/drivers/gpu/drm/qxl/ |
H A D | qxl_draw.c | 279 struct drm_clip_rect *clips_ptr; qxl_draw_dirty_fb() local 305 for (i = 1, clips_ptr = clips + inc; qxl_draw_dirty_fb() 306 i < num_clips; i++, clips_ptr += inc) { qxl_draw_dirty_fb() 307 left = min_t(int, left, (int)clips_ptr->x1); qxl_draw_dirty_fb() 308 right = max_t(int, right, (int)clips_ptr->x2); qxl_draw_dirty_fb() 309 top = min_t(int, top, (int)clips_ptr->y1); qxl_draw_dirty_fb() 310 bottom = max_t(int, bottom, (int)clips_ptr->y2); qxl_draw_dirty_fb() 377 clips_ptr = clips; qxl_draw_dirty_fb() 378 for (i = 0; i < num_clips; i++, clips_ptr += inc) { qxl_draw_dirty_fb() 379 rects[i].left = clips_ptr->x1; qxl_draw_dirty_fb() 380 rects[i].right = clips_ptr->x2; qxl_draw_dirty_fb() 381 rects[i].top = clips_ptr->y1; qxl_draw_dirty_fb() 382 rects[i].bottom = clips_ptr->y2; qxl_draw_dirty_fb()
|
/linux-4.4.14/drivers/gpu/drm/virtio/ |
H A D | virtgpu_fb.c | 127 struct drm_clip_rect *clips_ptr; virtio_gpu_surface_dirty() local 144 for (i = 1, clips_ptr = clips + inc; virtio_gpu_surface_dirty() 145 i < num_clips; i++, clips_ptr += inc) { virtio_gpu_surface_dirty() 146 left = min_t(int, left, (int)clips_ptr->x1); virtio_gpu_surface_dirty() 147 right = max_t(int, right, (int)clips_ptr->x2); virtio_gpu_surface_dirty() 148 top = min_t(int, top, (int)clips_ptr->y1); virtio_gpu_surface_dirty() 149 bottom = max_t(int, bottom, (int)clips_ptr->y2); virtio_gpu_surface_dirty()
|
/linux-4.4.14/include/uapi/drm/ |
H A D | vmwgfx_drm.h | 750 * @clips_ptr: Pointer to an array of clip rects cast to an uint64_t. 763 uint64_t clips_ptr; member in struct:drm_vmw_present_arg 783 * @clips_ptr: Pointer to an array of clip rects cast to an uint64_t. 791 uint64_t clips_ptr; member in struct:drm_vmw_present_readback_arg
|
H A D | drm_mode.h | 430 __u64 clips_ptr; member in struct:drm_mode_fb_dirty_cmd
|
/linux-4.4.14/drivers/gpu/drm/ |
H A D | drm_crtc.c | 3483 struct drm_clip_rect __user *clips_ptr; drm_mode_dirtyfb_ioctl() local 3499 clips_ptr = (struct drm_clip_rect __user *)(unsigned long)r->clips_ptr; drm_mode_dirtyfb_ioctl() 3501 if (!num_clips != !clips_ptr) { drm_mode_dirtyfb_ioctl() 3514 if (num_clips && clips_ptr) { drm_mode_dirtyfb_ioctl() 3525 ret = copy_from_user(clips, clips_ptr, drm_mode_dirtyfb_ioctl()
|
Completed in 282 milliseconds