/linux-master/include/drm/ |
H A D | drm_damage_helper.h | 52 * This structure tracks state needed to walk the list of plane damage clips. 58 const struct drm_rect *clips; member in struct:drm_atomic_helper_damage_iter 71 unsigned int color, struct drm_clip_rect *clips,
|
H A D | drm_framebuffer.h | 99 unsigned color, struct drm_clip_rect *clips,
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_ioctl.c | 180 struct drm_vmw_rect *clips = NULL; local 199 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); 200 if (clips == NULL) { 206 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); 233 clips, num_clips); 243 kfree(clips); 258 struct drm_vmw_rect *clips = NULL; local 276 clips [all...] |
H A D | vmwgfx_kms.h | 60 * damage clips on display unit @num_hits will be passed to allocate 98 * This is where to populate clips for surface copy/dma or blit commands 436 const struct drm_clip_rect *clips, 513 const struct drm_clip_rect *clips, 523 struct drm_clip_rect *clips, 533 struct drm_clip_rect *clips, 553 struct drm_clip_rect *clips, 565 struct drm_clip_rect *clips,
|
H A D | vmwgfx_ldu.c | 300 struct drm_mode_rect *clips, 592 struct drm_mode_rect *clips, 609 for (i = 0; i < num_clips; i++, clips++) { 611 cmd[i].body.x = clips->x1; 612 cmd[i].body.y = clips->y1; 613 cmd[i].body.width = clips->x2 - clips->x1; 614 cmd[i].body.height = clips->y2 - clips->y1; 589 vmw_kms_ldu_do_bo_dirty(struct vmw_private *dev_priv, struct vmw_framebuffer *framebuffer, unsigned int flags, unsigned int color, struct drm_mode_rect *clips, unsigned int num_clips) argument
|
H A D | vmwgfx_kms.c | 853 * Ignore damage clips if the framebuffer attached to the plane's state 1981 struct drm_vmw_rect *clips, 1984 return vmw_kms_sou_do_surface_dirty(dev_priv, vfb, NULL, clips, 1996 struct drm_vmw_rect *clips, 2003 ret = vmw_kms_stdu_surface_dirty(dev_priv, vfb, NULL, clips, 2009 sid, destX, destY, clips, 2435 * @clips: A set of struct drm_clip_rect. Either this os @vclips must be NULL. 2437 * @vclips: A set of struct drm_vmw_rect cliprects. Either this or @clips must 2441 * @num_clips: Number of cliprects in the @clips or @vclips array. 2448 const struct drm_clip_rect *clips, 1975 vmw_kms_generic_present(struct vmw_private *dev_priv, struct drm_file *file_priv, struct vmw_framebuffer *vfb, struct vmw_surface *surface, uint32_t sid, int32_t destX, int32_t destY, struct drm_vmw_rect *clips, uint32_t num_clips) argument 1990 vmw_kms_present(struct vmw_private *dev_priv, struct drm_file *file_priv, struct vmw_framebuffer *vfb, struct vmw_surface *surface, uint32_t sid, int32_t destX, int32_t destY, struct drm_vmw_rect *clips, uint32_t num_clips) argument 2446 vmw_kms_helper_dirty(struct vmw_private *dev_priv, struct vmw_framebuffer *framebuffer, const struct drm_clip_rect *clips, const struct drm_vmw_rect *vclips, s32 dest_x, s32 dest_y, int num_clips, int increment, struct vmw_kms_dirty *dirty) argument 2602 vmw_kms_update_proxy(struct vmw_resource *res, const struct drm_clip_rect *clips, unsigned num_clips, int increment) argument [all...] |
H A D | vmwgfx_stdu.c | 450 * This function calculates the bounding box for all the incoming clips. 527 * @clips: Array of clip rects. Either @clips or @vclips must be NULL. 528 * @vclips: Alternate array of clip rects. Either @clips or @vclips must 530 * @num_clips: Number of clip rects in @clips or @vclips. 531 * @increment: Increment to use when looping over @clips or @vclips. 545 struct drm_clip_rect *clips, 587 ret = vmw_kms_helper_dirty(dev_priv, vfb, clips, vclips, 691 * @clips: Array of clip rects. Either @clips o 541 vmw_kms_stdu_readback(struct vmw_private *dev_priv, struct drm_file *file_priv, struct vmw_framebuffer *vfb, struct drm_vmw_fence_rep __user *user_fence_rep, struct drm_clip_rect *clips, struct drm_vmw_rect *vclips, uint32_t num_clips, int increment, struct drm_crtc *crtc) argument 708 vmw_kms_stdu_surface_dirty(struct vmw_private *dev_priv, struct vmw_framebuffer *framebuffer, struct drm_clip_rect *clips, struct drm_vmw_rect *vclips, struct vmw_resource *srf, s32 dest_x, s32 dest_y, unsigned num_clips, int inc, struct vmw_fence_obj **out_fence, struct drm_crtc *crtc) argument [all...] |
H A D | vmwgfx_scrn.c | 570 * its bounding box is filled before iterating over all the clips. So 1072 * @clips: Array of clip rects. Either @clips or @vclips must be NULL. 1073 * @vclips: Alternate array of clip rects. Either @clips or @vclips must 1079 * @num_clips: Number of clip rects in @clips. 1080 * @inc: Increment to use when looping over @clips. 1091 struct drm_clip_rect *clips, 1131 ret = vmw_kms_helper_dirty(dev_priv, framebuffer, clips, vclips, 1145 * vmw_sou_bo_fifo_commit - Callback to submit a set of readback clips. 1149 * Commits a previously built command buffer of readback clips 1089 vmw_kms_sou_do_surface_dirty(struct vmw_private *dev_priv, struct vmw_framebuffer *framebuffer, struct drm_clip_rect *clips, struct drm_vmw_rect *vclips, struct vmw_resource *srf, s32 dest_x, s32 dest_y, unsigned num_clips, int inc, struct vmw_fence_obj **out_fence, struct drm_crtc *crtc) argument 1205 vmw_kms_sou_do_bo_dirty(struct vmw_private *dev_priv, struct vmw_framebuffer *framebuffer, struct drm_clip_rect *clips, struct drm_vmw_rect *vclips, unsigned num_clips, int increment, bool interruptible, struct vmw_fence_obj **out_fence, struct drm_crtc *crtc) argument [all...] |
H A D | vmwgfx_drv.h | 1054 struct drm_vmw_rect *clips,
|
/linux-master/drivers/gpu/drm/qxl/ |
H A D | qxl_draw.c | 130 struct drm_clip_rect *clips, 161 clips->x1 += dumb_shadow_offset; 162 clips->x2 += dumb_shadow_offset; 164 left = clips->x1; 165 right = clips->x2; 166 top = clips->y1; 167 bottom = clips->y2; 170 for (i = 1, clips_ptr = clips + inc; 244 clips_ptr = clips; 126 qxl_draw_dirty_fb(struct qxl_device *qdev, struct drm_framebuffer *fb, struct qxl_bo *bo, unsigned int flags, unsigned int color, struct drm_clip_rect *clips, unsigned int num_clips, int inc, uint32_t dumb_shadow_offset) argument
|
H A D | qxl_display.c | 406 struct drm_clip_rect *clips, 427 clips = &norect; 437 clips, num_clips, inc, 0); 403 qxl_framebuffer_surface_dirty(struct drm_framebuffer *fb, struct drm_file *file_priv, unsigned int flags, unsigned int color, struct drm_clip_rect *clips, unsigned int num_clips) argument
|
H A D | qxl_drv.h | 395 struct drm_clip_rect *clips,
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_damage_helper.c | 93 * @clips: Dirty region. 94 * @num_clips: Count of clip in clips. 109 unsigned int color, struct drm_clip_rect *clips, 133 if (clips) { 147 convert_clip_rect_to_rect(clips, rects, num_clips, inc); 208 * @state: Plane state from which to iterate the damage clips. 210 * Initialize an iterator, which clips plane damage 233 iter->clips = (struct drm_rect *)drm_plane_get_damage_clips(state); 244 if (!iter->clips || state->ignore_damage_clips || 246 iter->clips 107 drm_atomic_helper_dirtyfb(struct drm_framebuffer *fb, struct drm_file *file_priv, unsigned int flags, unsigned int color, struct drm_clip_rect *clips, unsigned int num_clips) argument [all...] |
H A D | drm_atomic.c | 609 struct drm_mode_rect *clips; local 685 clips = __drm_plane_get_damage_clips(new_plane_state); 688 /* Make sure damage clips are valid and inside the fb. */ 690 if (clips->x1 >= clips->x2 || 691 clips->y1 >= clips->y2 || 692 clips->x1 < 0 || 693 clips->y1 < 0 || 694 clips [all...] |
H A D | drm_framebuffer.c | 713 struct drm_clip_rect *clips = NULL; local 737 /* If userspace annotates copy, clips must come in pairs */ 748 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); 749 if (!clips) { 754 ret = copy_from_user(clips, clips_ptr, 755 num_clips * sizeof(*clips)); 764 clips, num_clips); 770 kfree(clips);
|
/linux-master/drivers/staging/vc04_services/bcm2835-camera/ |
H A D | bcm2835-camera.h | 140 (win_fmt)->clips, (win_fmt)->clipcount, \
|
/linux-master/drivers/gpu/drm/vboxvideo/ |
H A D | vbox_mode.c | 285 struct drm_mode_rect *clips; local 294 clips = drm_plane_get_damage_clips(new_state); 302 for (i = 0; i < num_clips; ++i, ++clips) { 306 cmd_hdr.x = (s16)clips->x1; 307 cmd_hdr.y = (s16)clips->y1; 308 cmd_hdr.w = (u16)clips->x2 - clips->x1; 309 cmd_hdr.h = (u16)clips->y2 - clips->y1;
|
/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_fb.c | 37 unsigned int color, struct drm_clip_rect *clips, 49 clips, num_clips); 35 msm_framebuffer_dirtyfb(struct drm_framebuffer *fb, struct drm_file *file_priv, unsigned int flags, unsigned int color, struct drm_clip_rect *clips, unsigned int num_clips) argument
|
/linux-master/drivers/media/platform/ti/omap/ |
H A D | omap_voutlib.c | 99 new_win->clips = NULL;
|
/linux-master/drivers/media/v4l2-core/ |
H A D | v4l2-compat-ioctl32.c | 45 compat_caddr_t clips; /* always NULL */ member in struct:v4l2_window32 63 .clips = NULL, 82 .clips = 0,
|
H A D | v4l2-ioctl.c | 1753 p->fmt.win.clips = NULL; 1787 p->fmt.win.clips = NULL; 1861 p->fmt.win.clips = NULL; 1895 p->fmt.win.clips = NULL;
|
/linux-master/drivers/gpu/drm/omapdrm/ |
H A D | omap_fb.c | 64 struct drm_clip_rect *clips, 61 omap_framebuffer_dirty(struct drm_framebuffer *fb, struct drm_file *file_priv, unsigned flags, unsigned color, struct drm_clip_rect *clips, unsigned num_clips) argument
|
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm.c | 5283 * If PSR SU is enabled and damage clips are available, only the regions of the screen 5285 * or if damage clips are not available, the entire screen will be updated. 5289 * (referred to as "damage clips" in DRM nomenclature) that require updating on 5296 * implicitly provide damage clips without any client support via the plane 5310 struct drm_mode_rect *clips; local 5327 clips = drm_plane_get_damage_clips(new_plane_state); 5337 for (; flip_addrs->dirty_rect_count < num_clips; clips++) 5340 clips->x1, clips->y1, 5341 clips [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_display.c | 536 struct drm_clip_rect *clips, unsigned int num_clips) 542 return drm_atomic_helper_dirtyfb(fb, file, flags, color, clips, 534 amdgpu_dirtyfb(struct drm_framebuffer *fb, struct drm_file *file, unsigned int flags, unsigned int color, struct drm_clip_rect *clips, unsigned int num_clips) argument
|
/linux-master/drivers/media/pci/ivtv/ |
H A D | ivtv-ioctl.c | 448 winfmt->clips = NULL;
|