Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_ioctl.c180 struct drm_vmw_rect *clips = NULL; in vmw_present_ioctl() local
199 clips = kzalloc_objs(*clips, num_clips); 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()
258 struct drm_vmw_rect *clips = NULL; in vmw_present_readback_ioctl() local
276 clips = kzalloc_objs(*clips, num_clips); 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()
[all …]
H A Dvmwgfx_kms.c124 * Ignore damage clips if the framebuffer attached to the plane's state in vmw_du_primary_plane_atomic_check()
1075 struct drm_vmw_rect *clips,
1078 return vmw_kms_sou_do_surface_dirty(dev_priv, vfb, NULL, clips,
1090 struct drm_vmw_rect *clips, in vmw_kms_generic_present()
1097 ret = vmw_kms_stdu_surface_dirty(dev_priv, vfb, NULL, clips, in vmw_kms_present()
1103 sid, destX, destY, clips, in vmw_kms_present()
1491 * @clips: A set of struct drm_clip_rect. Either this os @vclips must be NULL. in vmw_kms_update_layout_ioctl()
1493 * @vclips: A set of struct drm_vmw_rect cliprects. Either this or @clips must in vmw_kms_update_layout_ioctl()
1497 * @num_clips: Number of cliprects in the @clips or @vclips array.
1504 const struct drm_clip_rect *clips,
1086 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) vmw_kms_generic_present() argument
1101 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) vmw_kms_present() argument
1515 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) vmw_kms_helper_dirty() argument
[all...]
/linux/drivers/gpu/drm/qxl/
H 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()
H A Dqxl_display.c431 struct drm_clip_rect *clips, in qxl_framebuffer_surface_dirty() argument
452 clips = &norect; in qxl_framebuffer_surface_dirty()
462 clips, num_clips, inc, 0); in qxl_framebuffer_surface_dirty()
H A Dqxl_drv.h395 struct drm_clip_rect *clips,
/linux/drivers/gpu/drm/vboxvideo/
H A Dvbox_mode.c287 struct drm_mode_rect *clips; in vbox_primary_atomic_update() local
296 clips = drm_plane_get_damage_clips(new_state); in vbox_primary_atomic_update()
304 for (i = 0; i < num_clips; ++i, ++clips) { in vbox_primary_atomic_update()
308 cmd_hdr.x = (s16)clips->x1; in vbox_primary_atomic_update()
309 cmd_hdr.y = (s16)clips->y1; in vbox_primary_atomic_update()
310 cmd_hdr.w = (u16)clips->x2 - clips->x1; in vbox_primary_atomic_update()
311 cmd_hdr.h = (u16)clips->y2 - clips->y1; in vbox_primary_atomic_update()
/linux/drivers/gpu/drm/msm/
H A Dmsm_fb.c33 unsigned int color, struct drm_clip_rect *clips, in msm_framebuffer_dirtyfb() argument
45 clips, num_clips); in msm_framebuffer_dirtyfb()
/linux/include/drm/
H A Ddrm_framebuffer.h100 unsigned color, struct drm_clip_rect *clips,
/linux/Documentation/userspace-api/media/v4l/
H A Ddev-overlay.rst171 driver clips the window accordingly, or if that is not possible,
191 ``struct v4l2_clip * clips``
210 When the application set the ``clips`` field, this field must
319 undesirable if the driver clips out less pixels than expected,
H A Dv4l2.rst345 Corrected the description of struct v4l2_window clips. New V4L2_STD\_
H A Ddiff-v4l.rst436 :c:type:`v4l2_window`. The ``chromakey``, ``clips``, and
448 In V4L, storing a bitmap pointer in ``clips`` and setting ``clipcount``
H A Dhist-v4l2.rst769 1. The ``clips`` field in struct v4l2_window
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c3206 * If PSR SU is enabled and damage clips are available, only the regions of the screen in fill_dc_dirty_rects()
3208 * or if damage clips are not available, the entire screen will be updated. in fill_dc_dirty_rects()
3212 * (referred to as "damage clips" in DRM nomenclature) that require updating on in fill_dc_dirty_rects()
3219 * implicitly provide damage clips without any client support via the plane in fill_dc_dirty_rects()
3233 struct drm_mode_rect *clips = NULL; in fill_dc_dirty_rects()
3251 clips = drm_plane_get_damage_clips(new_plane_state); in fill_dc_dirty_rects()
3262 for (; flip_addrs->dirty_rect_count < num_clips; clips++) in fill_dc_dirty_rects()
3265 clips->x1, clips->y1, in fill_dc_dirty_rects()
3266 clips in fill_dc_dirty_rects()
3178 struct drm_mode_rect *clips = NULL; fill_dc_dirty_rects() local
[all...]
/linux/drivers/media/platform/ti/omap/
H A Domap_voutlib.c99 new_win->clips = NULL; in omap_vout_try_window()
H A Domap_vout.c784 win->clips = NULL; in vidioc_g_fmt_vid_overlay()
/linux/drivers/gpu/drm/omapdrm/
H A Domap_fb.c65 struct drm_clip_rect *clips, in omap_framebuffer_dirty() argument