/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 | 179 struct drm_vmw_rect *clips = NULL; local 198 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); 199 if (clips == NULL) { 205 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); 232 clips, num_clips); 242 kfree(clips); 257 struct drm_vmw_rect *clips = NULL; local 275 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 432 const struct drm_clip_rect *clips, 511 const struct drm_clip_rect *clips, 521 struct drm_clip_rect *clips, 531 struct drm_clip_rect *clips, 551 struct drm_clip_rect *clips, 563 struct drm_clip_rect *clips,
|
H A D | vmwgfx_ldu.c | 323 struct drm_mode_rect *clips, 613 struct drm_mode_rect *clips, 630 for (i = 0; i < num_clips; i++, clips++) { 632 cmd[i].body.x = clips->x1; 633 cmd[i].body.y = clips->y1; 634 cmd[i].body.width = clips->x2 - clips->x1; 635 cmd[i].body.height = clips->y2 - clips->y1; 610 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 | 846 * Ignore damage clips if the framebuffer attached to the plane's state 1991 struct drm_vmw_rect *clips, 1994 return vmw_kms_sou_do_surface_dirty(dev_priv, vfb, NULL, clips, 2006 struct drm_vmw_rect *clips, 2013 ret = vmw_kms_stdu_surface_dirty(dev_priv, vfb, NULL, clips, 2019 sid, destX, destY, clips, 2421 * @clips: A set of struct drm_clip_rect. Either this os @vclips must be NULL. 2423 * @vclips: A set of struct drm_vmw_rect cliprects. Either this or @clips must 2427 * @num_clips: Number of cliprects in the @clips or @vclips array. 2434 const struct drm_clip_rect *clips, 1985 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 2000 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 2432 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 2588 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 | 456 * This function calculates the bounding box for all the incoming clips. 533 * @clips: Array of clip rects. Either @clips or @vclips must be NULL. 534 * @vclips: Alternate array of clip rects. Either @clips or @vclips must 536 * @num_clips: Number of clip rects in @clips or @vclips. 537 * @increment: Increment to use when looping over @clips or @vclips. 551 struct drm_clip_rect *clips, 593 ret = vmw_kms_helper_dirty(dev_priv, vfb, clips, vclips, 697 * @clips: Array of clip rects. Either @clips o 547 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 714 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 | 578 * its bounding box is filled before iterating over all the clips. So 1077 * @clips: Array of clip rects. Either @clips or @vclips must be NULL. 1078 * @vclips: Alternate array of clip rects. Either @clips or @vclips must 1084 * @num_clips: Number of clip rects in @clips. 1085 * @inc: Increment to use when looping over @clips. 1096 struct drm_clip_rect *clips, 1136 ret = vmw_kms_helper_dirty(dev_priv, framebuffer, clips, vclips, 1150 * vmw_sou_bo_fifo_commit - Callback to submit a set of readback clips. 1154 * Commits a previously built command buffer of readback clips 1094 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 1210 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 | 1077 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 | 1719 p->fmt.win.clips = NULL; 1753 p->fmt.win.clips = NULL; 1827 p->fmt.win.clips = NULL; 1861 p->fmt.win.clips = NULL;
|
/linux-master/drivers/gpu/drm/omapdrm/ |
H A D | omap_fb.c | 63 struct drm_clip_rect *clips, 60 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 | 5261 * If PSR SU is enabled and damage clips are available, only the regions of the screen 5263 * or if damage clips are not available, the entire screen will be updated. 5267 * (referred to as "damage clips" in DRM nomenclature) that require updating on 5274 * implicitly provide damage clips without any client support via the plane 5288 struct drm_mode_rect *clips; 5305 clips = drm_plane_get_damage_clips(new_plane_state); 5315 for (; flip_addrs->dirty_rect_count < num_clips; clips++) 5318 clips->x1, clips->y1, 5319 clips 5287 struct drm_mode_rect *clips; local [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;
|