| /Linux-v6.6/drivers/gpu/drm/vmwgfx/ |
| D | vmwgfx_ioctl.c | 179 struct drm_vmw_rect *clips = NULL; in vmw_present_ioctl() local 198 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in vmw_present_ioctl() 199 if (clips == NULL) { in vmw_present_ioctl() 205 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); in vmw_present_ioctl() 232 clips, num_clips); in vmw_present_ioctl() 242 kfree(clips); in vmw_present_ioctl() 257 struct drm_vmw_rect *clips = NULL; in vmw_present_readback_ioctl() local 275 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in vmw_present_readback_ioctl() 276 if (clips == NULL) { in vmw_present_readback_ioctl() 282 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); in vmw_present_readback_ioctl() [all …]
|
| D | vmwgfx_ldu.c | 321 struct drm_mode_rect *clips, 612 struct drm_mode_rect *clips, in vmw_kms_ldu_do_bo_dirty() argument 629 for (i = 0; i < num_clips; i++, clips++) { in vmw_kms_ldu_do_bo_dirty() 631 cmd[i].body.x = clips->x1; in vmw_kms_ldu_do_bo_dirty() 632 cmd[i].body.y = clips->y1; in vmw_kms_ldu_do_bo_dirty() 633 cmd[i].body.width = clips->x2 - clips->x1; in vmw_kms_ldu_do_bo_dirty() 634 cmd[i].body.height = clips->y2 - clips->y1; in vmw_kms_ldu_do_bo_dirty()
|
| D | vmwgfx_kms.h | 435 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,
|
| D | vmwgfx_kms.c | 1977 struct drm_vmw_rect *clips, in vmw_kms_generic_present() argument 1980 return vmw_kms_sou_do_surface_dirty(dev_priv, vfb, NULL, clips, in vmw_kms_generic_present() 1992 struct drm_vmw_rect *clips, in vmw_kms_present() argument 1999 ret = vmw_kms_stdu_surface_dirty(dev_priv, vfb, NULL, clips, in vmw_kms_present() 2005 sid, destX, destY, clips, in vmw_kms_present() 2603 const struct drm_clip_rect *clips, in vmw_kms_helper_dirty() argument 2636 const struct drm_clip_rect *clips_ptr = clips; in vmw_kms_helper_dirty() 2659 if (clips) { in vmw_kms_helper_dirty() 2758 const struct drm_clip_rect *clips, in vmw_kms_update_proxy() argument 2772 if (!clips) in vmw_kms_update_proxy() [all …]
|
| D | vmwgfx_stdu.c | 546 struct drm_clip_rect *clips, in vmw_kms_stdu_readback() argument 588 ret = vmw_kms_helper_dirty(dev_priv, vfb, clips, vclips, in vmw_kms_stdu_readback() 711 struct drm_clip_rect *clips, in vmw_kms_stdu_surface_dirty() argument 739 ret = vmw_kms_update_proxy(srf, clips, num_clips, inc); in vmw_kms_stdu_surface_dirty() 754 ret = vmw_kms_helper_dirty(dev_priv, framebuffer, clips, vclips, in vmw_kms_stdu_surface_dirty()
|
| D | vmwgfx_scrn.c | 1095 struct drm_clip_rect *clips, in vmw_kms_sou_do_surface_dirty() argument 1135 ret = vmw_kms_helper_dirty(dev_priv, framebuffer, clips, vclips, in vmw_kms_sou_do_surface_dirty() 1211 struct drm_clip_rect *clips, in vmw_kms_sou_do_bo_dirty() argument 1244 ret = vmw_kms_helper_dirty(dev_priv, framebuffer, clips, vclips, in vmw_kms_sou_do_bo_dirty()
|
| /Linux-v6.6/drivers/gpu/drm/qxl/ |
| D | qxl_draw.c | 130 struct drm_clip_rect *clips, in qxl_draw_dirty_fb() argument 161 clips->x1 += dumb_shadow_offset; in qxl_draw_dirty_fb() 162 clips->x2 += dumb_shadow_offset; in qxl_draw_dirty_fb() 164 left = clips->x1; in qxl_draw_dirty_fb() 165 right = clips->x2; in qxl_draw_dirty_fb() 166 top = clips->y1; in qxl_draw_dirty_fb() 167 bottom = clips->y2; in qxl_draw_dirty_fb() 170 for (i = 1, clips_ptr = clips + inc; in qxl_draw_dirty_fb() 244 clips_ptr = clips; in qxl_draw_dirty_fb()
|
| D | qxl_display.c | 406 struct drm_clip_rect *clips, in qxl_framebuffer_surface_dirty() argument 427 clips = &norect; in qxl_framebuffer_surface_dirty() 437 clips, num_clips, inc, 0); in qxl_framebuffer_surface_dirty()
|
| D | qxl_drv.h | 400 struct drm_clip_rect *clips,
|
| /Linux-v6.6/drivers/gpu/drm/ |
| D | drm_damage_helper.c | 109 unsigned int color, struct drm_clip_rect *clips, in drm_atomic_helper_dirtyfb() argument 133 if (clips) { in drm_atomic_helper_dirtyfb() 147 convert_clip_rect_to_rect(clips, rects, num_clips, inc); in drm_atomic_helper_dirtyfb() 233 iter->clips = (struct drm_rect *)drm_plane_get_damage_clips(state); in drm_atomic_helper_damage_iter_init() 244 if (!iter->clips || !drm_rect_equals(&state->src, &old_state->src)) { in drm_atomic_helper_damage_iter_init() 245 iter->clips = NULL; in drm_atomic_helper_damage_iter_init() 281 *rect = iter->clips[iter->curr_clip]; in drm_atomic_helper_damage_iter_next()
|
| D | drm_atomic.c | 609 struct drm_mode_rect *clips; in drm_atomic_plane_check() local 685 clips = __drm_plane_get_damage_clips(new_plane_state); in drm_atomic_plane_check() 690 if (clips->x1 >= clips->x2 || in drm_atomic_plane_check() 691 clips->y1 >= clips->y2 || in drm_atomic_plane_check() 692 clips->x1 < 0 || in drm_atomic_plane_check() 693 clips->y1 < 0 || in drm_atomic_plane_check() 694 clips->x2 > fb_width || in drm_atomic_plane_check() 695 clips->y2 > fb_height) { in drm_atomic_plane_check() 698 plane->base.id, plane->name, clips->x1, in drm_atomic_plane_check() 699 clips->y1, clips->x2, clips->y2); in drm_atomic_plane_check() [all …]
|
| D | drm_framebuffer.c | 699 struct drm_clip_rect *clips = NULL; in drm_mode_dirtyfb_ioctl() local 734 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in drm_mode_dirtyfb_ioctl() 735 if (!clips) { in drm_mode_dirtyfb_ioctl() 740 ret = copy_from_user(clips, clips_ptr, in drm_mode_dirtyfb_ioctl() 741 num_clips * sizeof(*clips)); in drm_mode_dirtyfb_ioctl() 750 clips, num_clips); in drm_mode_dirtyfb_ioctl() 756 kfree(clips); in drm_mode_dirtyfb_ioctl()
|
| /Linux-v6.6/include/drm/ |
| D | drm_damage_helper.h | 58 const struct drm_rect *clips; member 71 unsigned int color, struct drm_clip_rect *clips,
|
| D | drm_framebuffer.h | 99 unsigned color, struct drm_clip_rect *clips,
|
| /Linux-v6.6/drivers/gpu/drm/vboxvideo/ |
| D | vbox_mode.c | 285 struct drm_mode_rect *clips; in vbox_primary_atomic_update() local 294 clips = drm_plane_get_damage_clips(new_state); in vbox_primary_atomic_update() 302 for (i = 0; i < num_clips; ++i, ++clips) { in vbox_primary_atomic_update() 306 cmd_hdr.x = (s16)clips->x1; in vbox_primary_atomic_update() 307 cmd_hdr.y = (s16)clips->y1; in vbox_primary_atomic_update() 308 cmd_hdr.w = (u16)clips->x2 - clips->x1; in vbox_primary_atomic_update() 309 cmd_hdr.h = (u16)clips->y2 - clips->y1; in vbox_primary_atomic_update()
|
| /Linux-v6.6/drivers/gpu/drm/msm/ |
| D | msm_fb.c | 37 unsigned int color, struct drm_clip_rect *clips, in msm_framebuffer_dirtyfb() argument 49 clips, num_clips); in msm_framebuffer_dirtyfb()
|
| /Linux-v6.6/drivers/staging/vc04_services/bcm2835-camera/ |
| D | bcm2835-camera.h | 140 (win_fmt)->clips, (win_fmt)->clipcount, \
|
| /Linux-v6.6/Documentation/userspace-api/media/v4l/ |
| D | dev-overlay.rst | 170 driver clips the window accordingly, or if that is not possible, 190 ``struct v4l2_clip * clips`` 209 When the application set the ``clips`` field, this field must 318 undesirable if the driver clips out less pixels than expected,
|
| D | v4l2.rst | 349 Corrected the description of struct v4l2_window clips. New V4L2_STD\_
|
| D | diff-v4l.rst | 436 :c:type:`v4l2_window`. The ``chromakey``, ``clips``, and 448 In V4L, storing a bitmap pointer in ``clips`` and setting ``clipcount``
|
| /Linux-v6.6/drivers/media/v4l2-core/ |
| D | v4l2-compat-ioctl32.c | 45 compat_caddr_t clips; /* always NULL */ member 63 .clips = NULL, in get_v4l2_window32() 82 .clips = 0, in put_v4l2_window32()
|
| /Linux-v6.6/drivers/media/platform/ti/omap/ |
| D | omap_voutlib.c | 99 new_win->clips = NULL; in omap_vout_try_window()
|
| /Linux-v6.6/drivers/gpu/drm/omapdrm/ |
| D | omap_fb.c | 63 struct drm_clip_rect *clips, in omap_framebuffer_dirty() argument
|
| /Linux-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| D | amdgpu_dm.c | 5160 struct drm_mode_rect *clips; in fill_dc_dirty_rects() local 5174 clips = drm_plane_get_damage_clips(new_plane_state); in fill_dc_dirty_rects() 5180 for (; flip_addrs->dirty_rect_count < num_clips; clips++) in fill_dc_dirty_rects() 5183 clips->x1, clips->y1, in fill_dc_dirty_rects() 5184 clips->x2 - clips->x1, clips->y2 - clips->y1, in fill_dc_dirty_rects() 5230 for (; i < num_clips; clips++) in fill_dc_dirty_rects() 5232 &dirty_rects[i], clips->x1, in fill_dc_dirty_rects() 5233 clips->y1, clips->x2 - clips->x1, in fill_dc_dirty_rects() 5234 clips->y2 - clips->y1, &i, false); in fill_dc_dirty_rects()
|
| /Linux-v6.6/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_display.c | 539 struct drm_clip_rect *clips, unsigned int num_clips) in amdgpu_dirtyfb() argument 545 return drm_atomic_helper_dirtyfb(fb, file, flags, color, clips, in amdgpu_dirtyfb()
|