Home
last modified time | relevance | path

Searched refs:clips (Results 1 – 25 of 34) sorted by relevance

12

/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_ioctl.c180 struct drm_vmw_rect *clips = NULL; in vmw_present_ioctl() local
199 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in vmw_present_ioctl()
200 if (clips == NULL) { in vmw_present_ioctl()
206 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); in vmw_present_ioctl()
233 clips, num_clips); in vmw_present_ioctl()
243 kfree(clips); in vmw_present_ioctl()
276 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in vmw_present_readback_ioctl()
277 if (clips == NULL) { in vmw_present_readback_ioctl()
283 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); in vmw_present_readback_ioctl()
308 clips, num_clips); in vmw_present_readback_ioctl()
[all …]
A Dvmwgfx_ldu.c304 struct drm_mode_rect *clips,
596 struct drm_mode_rect *clips, in vmw_kms_ldu_do_bo_dirty() argument
613 for (i = 0; i < num_clips; i++, clips++) { in vmw_kms_ldu_do_bo_dirty()
615 cmd[i].body.x = clips->x1; in vmw_kms_ldu_do_bo_dirty()
616 cmd[i].body.y = clips->y1; in vmw_kms_ldu_do_bo_dirty()
617 cmd[i].body.width = clips->x2 - clips->x1; in vmw_kms_ldu_do_bo_dirty()
618 cmd[i].body.height = clips->y2 - clips->y1; in vmw_kms_ldu_do_bo_dirty()
A Dvmwgfx_kms.h431 const struct drm_clip_rect *clips,
505 const struct drm_clip_rect *clips,
515 struct drm_clip_rect *clips,
525 struct drm_clip_rect *clips,
545 struct drm_clip_rect *clips,
557 struct drm_clip_rect *clips,
A Dvmwgfx_kms.c1834 struct drm_vmw_rect *clips, in vmw_kms_generic_present() argument
1837 return vmw_kms_sou_do_surface_dirty(dev_priv, vfb, NULL, clips, in vmw_kms_generic_present()
1849 struct drm_vmw_rect *clips, in vmw_kms_present() argument
1856 ret = vmw_kms_stdu_surface_dirty(dev_priv, vfb, NULL, clips, in vmw_kms_present()
1862 sid, destX, destY, clips, in vmw_kms_present()
2302 const struct drm_clip_rect *clips, in vmw_kms_helper_dirty() argument
2335 const struct drm_clip_rect *clips_ptr = clips; in vmw_kms_helper_dirty()
2358 if (clips) { in vmw_kms_helper_dirty()
A Dvmwgfx_scrn.c1096 struct drm_clip_rect *clips, in vmw_kms_sou_do_surface_dirty() argument
1136 ret = vmw_kms_helper_dirty(dev_priv, framebuffer, clips, vclips, in vmw_kms_sou_do_surface_dirty()
1212 struct drm_clip_rect *clips, in vmw_kms_sou_do_bo_dirty() argument
1245 ret = vmw_kms_helper_dirty(dev_priv, framebuffer, clips, vclips, in vmw_kms_sou_do_bo_dirty()
A Dvmwgfx_stdu.c559 struct drm_clip_rect *clips, in vmw_kms_stdu_readback() argument
601 ret = vmw_kms_helper_dirty(dev_priv, vfb, clips, vclips, in vmw_kms_stdu_readback()
724 struct drm_clip_rect *clips, in vmw_kms_stdu_surface_dirty() argument
761 ret = vmw_kms_helper_dirty(dev_priv, framebuffer, clips, vclips, in vmw_kms_stdu_surface_dirty()
/linux/drivers/gpu/drm/qxl/
A Dqxl_draw.c130 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()
A Dqxl_display.c409 struct drm_clip_rect *clips, in qxl_framebuffer_surface_dirty() argument
430 clips = &norect; in qxl_framebuffer_surface_dirty()
440 clips, num_clips, inc, 0); in qxl_framebuffer_surface_dirty()
A Dqxl_drv.h395 struct drm_clip_rect *clips,
/linux/drivers/gpu/drm/
A Ddrm_damage_helper.c109 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 || state->ignore_damage_clips || in drm_atomic_helper_damage_iter_init()
246 iter->clips = NULL; in drm_atomic_helper_damage_iter_init()
282 *rect = iter->clips[iter->curr_clip]; in drm_atomic_helper_damage_iter_next()
A Ddrm_atomic.c606 struct drm_mode_rect *clips; in drm_atomic_plane_check() local
679 clips = __drm_plane_get_damage_clips(new_plane_state); in drm_atomic_plane_check()
684 if (clips->x1 >= clips->x2 || in drm_atomic_plane_check()
685 clips->y1 >= clips->y2 || in drm_atomic_plane_check()
686 clips->x1 < 0 || in drm_atomic_plane_check()
687 clips->y1 < 0 || in drm_atomic_plane_check()
688 clips->x2 > fb_width || in drm_atomic_plane_check()
689 clips->y2 > fb_height) { in drm_atomic_plane_check()
692 plane->base.id, plane->name, clips->x1, in drm_atomic_plane_check()
693 clips->y1, clips->x2, clips->y2); in drm_atomic_plane_check()
[all …]
A Ddrm_framebuffer.c713 struct drm_clip_rect *clips = NULL; in drm_mode_dirtyfb_ioctl() local
748 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in drm_mode_dirtyfb_ioctl()
749 if (!clips) { in drm_mode_dirtyfb_ioctl()
754 ret = copy_from_user(clips, clips_ptr, in drm_mode_dirtyfb_ioctl()
755 num_clips * sizeof(*clips)); in drm_mode_dirtyfb_ioctl()
764 clips, num_clips); in drm_mode_dirtyfb_ioctl()
770 kfree(clips); in drm_mode_dirtyfb_ioctl()
/linux/include/drm/
A Ddrm_damage_helper.h58 const struct drm_rect *clips; member
71 unsigned int color, struct drm_clip_rect *clips,
A Ddrm_framebuffer.h99 unsigned color, struct drm_clip_rect *clips,
/linux/drivers/gpu/drm/vboxvideo/
A Dvbox_mode.c285 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/drivers/gpu/drm/msm/
A Dmsm_fb.c37 unsigned int color, struct drm_clip_rect *clips, in msm_framebuffer_dirtyfb() argument
49 clips, num_clips); in msm_framebuffer_dirtyfb()
/linux/drivers/staging/vc04_services/bcm2835-camera/
A Dbcm2835-camera.h140 (win_fmt)->clips, (win_fmt)->clipcount, \
/linux/Documentation/userspace-api/media/v4l/
A Ddev-overlay.rst170 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,
A Dv4l2.rst344 Corrected the description of struct v4l2_window clips. New V4L2_STD\_
A Ddiff-v4l.rst436 :c:type:`v4l2_window`. The ``chromakey``, ``clips``, and
448 In V4L, storing a bitmap pointer in ``clips`` and setting ``clipcount``
/linux/drivers/media/v4l2-core/
A Dv4l2-compat-ioctl32.c45 compat_caddr_t clips; /* always NULL */ member
63 .clips = NULL, in get_v4l2_window32()
82 .clips = 0, in put_v4l2_window32()
/linux/drivers/media/platform/ti/omap/
A Domap_voutlib.c99 new_win->clips = NULL; in omap_vout_try_window()
/linux/drivers/gpu/drm/omapdrm/
A Domap_fb.c64 struct drm_clip_rect *clips, in omap_framebuffer_dirty() argument
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm.c5705 struct drm_mode_rect *clips; in fill_dc_dirty_rects() local
5722 clips = drm_plane_get_damage_clips(new_plane_state); in fill_dc_dirty_rects()
5732 for (; flip_addrs->dirty_rect_count < num_clips; clips++) in fill_dc_dirty_rects()
5735 clips->x1, clips->y1, in fill_dc_dirty_rects()
5736 clips->x2 - clips->x1, clips->y2 - clips->y1, in fill_dc_dirty_rects()
5782 for (; i < num_clips; clips++) in fill_dc_dirty_rects()
5784 &dirty_rects[i], clips->x1, in fill_dc_dirty_rects()
5785 clips->y1, clips->x2 - clips->x1, in fill_dc_dirty_rects()
5786 clips->y2 - clips->y1, &i, false); in fill_dc_dirty_rects()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_display.c537 struct drm_clip_rect *clips, unsigned int num_clips) in amdgpu_dirtyfb() argument
543 return drm_atomic_helper_dirtyfb(fb, file, flags, color, clips, in amdgpu_dirtyfb()

Completed in 89 milliseconds

12