/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/ |
H A D | qxl_draw.c | 135 struct drm_clip_rect *clips_ptr; in qxl_draw_dirty_fb() local 164 for (i = 1, clips_ptr = clips + inc; in qxl_draw_dirty_fb() 165 i < num_clips; i++, clips_ptr += inc) { in qxl_draw_dirty_fb() 166 left = min_t(int, left, (int)clips_ptr->x1); in qxl_draw_dirty_fb() 167 right = max_t(int, right, (int)clips_ptr->x2); in qxl_draw_dirty_fb() 168 top = min_t(int, top, (int)clips_ptr->y1); in qxl_draw_dirty_fb() 169 bottom = max_t(int, bottom, (int)clips_ptr->y2); in qxl_draw_dirty_fb() 237 clips_ptr = clips; in qxl_draw_dirty_fb() 238 for (i = 0; i < num_clips; i++, clips_ptr += inc) { in qxl_draw_dirty_fb() 239 rects[i].left = clips_ptr in qxl_draw_dirty_fb() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/qxl/ |
H A D | qxl_draw.c | 140 struct drm_clip_rect *clips_ptr; in qxl_draw_dirty_fb() local 170 for (i = 1, clips_ptr = clips + inc; in qxl_draw_dirty_fb() 171 i < num_clips; i++, clips_ptr += inc) { in qxl_draw_dirty_fb() 172 left = min_t(int, left, (int)clips_ptr->x1); in qxl_draw_dirty_fb() 173 right = max_t(int, right, (int)clips_ptr->x2); in qxl_draw_dirty_fb() 174 top = min_t(int, top, (int)clips_ptr->y1); in qxl_draw_dirty_fb() 175 bottom = max_t(int, bottom, (int)clips_ptr->y2); in qxl_draw_dirty_fb() 244 clips_ptr = clips; in qxl_draw_dirty_fb() 245 for (i = 0; i < num_clips; i++, clips_ptr += inc) { in qxl_draw_dirty_fb() 246 rects[i].left = clips_ptr in qxl_draw_dirty_fb() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_ioctl.c | 178 struct drm_vmw_rect __user *clips_ptr; in vmw_present_ioctl() local 187 clips_ptr = (struct drm_vmw_rect __user *)(unsigned long)arg->clips_ptr; in vmw_present_ioctl() 192 if (clips_ptr == NULL) { in vmw_present_ioctl() 193 VMW_DEBUG_USER("Variable clips_ptr must be specified.\n"); in vmw_present_ioctl() 205 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); in vmw_present_ioctl() 256 struct drm_vmw_rect __user *clips_ptr; in vmw_present_readback_ioctl() local 264 clips_ptr = (struct drm_vmw_rect __user *)(unsigned long)arg->clips_ptr; in vmw_present_readback_ioctl() 269 if (clips_ptr in vmw_present_readback_ioctl() [all...] |
H A D | vmwgfx_kms.c | 2638 const struct drm_clip_rect *clips_ptr = clips; in vmw_kms_helper_dirty() local 2651 for (i = 0; i < num_clips; i++, clips_ptr += increment, in vmw_kms_helper_dirty() 2662 dirty->fb_x = (s32) clips_ptr->x1; in vmw_kms_helper_dirty() 2663 dirty->fb_y = (s32) clips_ptr->y1; in vmw_kms_helper_dirty() 2664 dirty->unit_x2 = (s32) clips_ptr->x2 + dest_x - in vmw_kms_helper_dirty() 2666 dirty->unit_y2 = (s32) clips_ptr->y2 + dest_y - in vmw_kms_helper_dirty()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_ioctl.c | 262 struct drm_vmw_rect __user *clips_ptr; in vmw_present_ioctl() local 271 clips_ptr = (struct drm_vmw_rect __user *)(unsigned long)arg->clips_ptr; in vmw_present_ioctl() 276 if (clips_ptr == NULL) { in vmw_present_ioctl() 277 VMW_DEBUG_USER("Variable clips_ptr must be specified.\n"); in vmw_present_ioctl() 289 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); in vmw_present_ioctl() 346 struct drm_vmw_rect __user *clips_ptr; in vmw_present_readback_ioctl() local 354 clips_ptr = (struct drm_vmw_rect __user *)(unsigned long)arg->clips_ptr; in vmw_present_readback_ioctl() 359 if (clips_ptr in vmw_present_readback_ioctl() [all...] |
H A D | vmwgfx_kms.c | 2383 const struct drm_clip_rect *clips_ptr = clips; in vmw_kms_helper_dirty() local 2396 for (i = 0; i < num_clips; i++, clips_ptr += increment, in vmw_kms_helper_dirty() 2407 dirty->fb_x = (s32) clips_ptr->x1; in vmw_kms_helper_dirty() 2408 dirty->fb_y = (s32) clips_ptr->y1; in vmw_kms_helper_dirty() 2409 dirty->unit_x2 = (s32) clips_ptr->x2 + dest_x - in vmw_kms_helper_dirty() 2411 dirty->unit_y2 = (s32) clips_ptr->y2 + dest_y - in vmw_kms_helper_dirty()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_framebuffer.c | 698 struct drm_clip_rect __user *clips_ptr; in drm_mode_dirtyfb_ioctl() local 714 clips_ptr = (struct drm_clip_rect __user *)(unsigned long)r->clips_ptr; in drm_mode_dirtyfb_ioctl() 716 if (!num_clips != !clips_ptr) { in drm_mode_dirtyfb_ioctl() 729 if (num_clips && clips_ptr) { in drm_mode_dirtyfb_ioctl() 740 ret = copy_from_user(clips, clips_ptr, in drm_mode_dirtyfb_ioctl()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_framebuffer.c | 698 struct drm_clip_rect __user *clips_ptr; in drm_mode_dirtyfb_ioctl() local 714 clips_ptr = (struct drm_clip_rect __user *)(unsigned long)r->clips_ptr; in drm_mode_dirtyfb_ioctl() 716 if (!num_clips != !clips_ptr) { in drm_mode_dirtyfb_ioctl() 729 if (num_clips && clips_ptr) { in drm_mode_dirtyfb_ioctl() 740 ret = copy_from_user(clips, clips_ptr, in drm_mode_dirtyfb_ioctl()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/drm/ |
H A D | vmwgfx_drm.h | 223 __u64 clips_ptr; member 230 __u64 clips_ptr; member
|
H A D | drm_mode.h | 349 __u64 clips_ptr; member
|
/kernel/linux/linux-5.10/include/uapi/drm/ |
H A D | vmwgfx_drm.h | 754 * @clips_ptr: Pointer to an array of clip rects cast to an __u64. 767 __u64 clips_ptr; member 787 * @clips_ptr: Pointer to an array of clip rects cast to an __u64. 795 __u64 clips_ptr; member
|
H A D | drm_mode.h | 569 __u64 clips_ptr; member
|
/kernel/linux/linux-6.6/include/uapi/drm/ |
H A D | vmwgfx_drm.h | 765 * @clips_ptr: Pointer to an array of clip rects cast to an __u64. 778 __u64 clips_ptr; member 798 * @clips_ptr: Pointer to an array of clip rects cast to an __u64. 806 __u64 clips_ptr; member
|
H A D | drm_mode.h | 776 __u64 clips_ptr; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/drm/ |
H A D | vmwgfx_drm.h | 238 __u64 clips_ptr; member 245 __u64 clips_ptr; member
|
H A D | drm_mode.h | 332 __u64 clips_ptr; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/drm/ |
H A D | vmwgfx_drm.h | 238 __u64 clips_ptr; member 245 __u64 clips_ptr; member
|
H A D | drm_mode.h | 332 __u64 clips_ptr; member
|