/netbsd/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
H A D | vmwgfx_ioctl.c | 262 struct drm_vmw_rect *clips = NULL; in vmw_present_ioctl() local 281 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in vmw_present_ioctl() 282 if (clips == NULL) { in vmw_present_ioctl() 288 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); in vmw_present_ioctl() 319 clips, num_clips); in vmw_present_ioctl() 331 kfree(clips); in vmw_present_ioctl() 364 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in vmw_present_readback_ioctl() 365 if (clips == NULL) { in vmw_present_readback_ioctl() 371 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); in vmw_present_readback_ioctl() 400 clips, num_clips); in vmw_present_readback_ioctl() [all …]
|
H A D | vmwgfx_kms.h | 419 const struct drm_clip_rect *clips, 502 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,
|
H A D | vmwgfx_ldu.c | 552 struct drm_clip_rect *clips, in vmw_kms_ldu_do_bo_dirty() argument 569 for (i = 0; i < num_clips; i++, clips += increment) { in vmw_kms_ldu_do_bo_dirty() 571 cmd[i].body.x = clips->x1; in vmw_kms_ldu_do_bo_dirty() 572 cmd[i].body.y = clips->y1; in vmw_kms_ldu_do_bo_dirty() 573 cmd[i].body.width = clips->x2 - clips->x1; in vmw_kms_ldu_do_bo_dirty() 574 cmd[i].body.height = clips->y2 - clips->y1; in vmw_kms_ldu_do_bo_dirty()
|
H A D | vmwgfx_kms.c | 1020 clips = &norect; in vmw_framebuffer_bo_dirty() 1058 color, clips, num_clips); in vmw_framebuffer_bo_dirty_ext() 1061 clips, num_clips); in vmw_framebuffer_bo_dirty_ext() 2501 if (clips) { in vmw_kms_helper_dirty() 2614 if (!clips) in vmw_kms_update_proxy() 2630 if (clips->x1 > size->width || clips->x2 > size->width || in vmw_kms_update_proxy() 2631 clips->y1 > size->height || clips->y2 > size->height) { in vmw_kms_update_proxy() 2636 box->x = clips->x1; in vmw_kms_update_proxy() 2637 box->y = clips->y1; in vmw_kms_update_proxy() 2639 box->w = clips->x2 - clips->x1; in vmw_kms_update_proxy() [all …]
|
H A D | vmwgfx_scrn.c | 1132 struct drm_clip_rect *clips, in vmw_kms_sou_do_surface_dirty() argument 1172 ret = vmw_kms_helper_dirty(dev_priv, framebuffer, clips, vclips, in vmw_kms_sou_do_surface_dirty() 1248 struct drm_clip_rect *clips, in vmw_kms_sou_do_bo_dirty() argument 1279 ret = vmw_kms_helper_dirty(dev_priv, framebuffer, clips, vclips, in vmw_kms_sou_do_bo_dirty()
|
H A D | vmwgfx_stdu.c | 680 struct drm_clip_rect *clips, in vmw_kms_stdu_dma() argument 732 ret = vmw_kms_helper_dirty(dev_priv, vfb, clips, vclips, in vmw_kms_stdu_dma() 855 struct drm_clip_rect *clips, in vmw_kms_stdu_surface_dirty() argument 883 ret = vmw_kms_update_proxy(srf, clips, num_clips, inc); in vmw_kms_stdu_surface_dirty() 898 ret = vmw_kms_helper_dirty(dev_priv, framebuffer, clips, vclips, in vmw_kms_stdu_surface_dirty()
|
/netbsd/sys/external/bsd/drm2/dist/drm/qxl/ |
H A D | qxl_draw.c | 130 struct drm_clip_rect *clips, in qxl_draw_dirty_fb() argument 160 clips->x1 += dumb_shadow_offset; in qxl_draw_dirty_fb() 161 clips->x2 += dumb_shadow_offset; in qxl_draw_dirty_fb() 163 left = clips->x1; in qxl_draw_dirty_fb() 164 right = clips->x2; in qxl_draw_dirty_fb() 165 top = clips->y1; in qxl_draw_dirty_fb() 166 bottom = clips->y2; in qxl_draw_dirty_fb() 169 for (i = 1, clips_ptr = clips + inc; in qxl_draw_dirty_fb() 241 clips_ptr = clips; in qxl_draw_dirty_fb()
|
/netbsd/sys/external/bsd/drm2/dist/drm/ |
H A D | drm_damage_helper.c | 167 unsigned int color, struct drm_clip_rect *clips, in drm_atomic_helper_dirtyfb() argument 191 if (clips) { in drm_atomic_helper_dirtyfb() 205 convert_clip_rect_to_rect(clips, rects, num_clips, inc); in drm_atomic_helper_dirtyfb() 290 iter->clips = drm_helper_get_plane_damage_clips(state); in drm_atomic_helper_damage_iter_init() 299 if (!iter->clips || !drm_rect_equals(&state->src, &old_state->src)) { in drm_atomic_helper_damage_iter_init() 300 iter->clips = NULL; in drm_atomic_helper_damage_iter_init() 336 *rect = iter->clips[iter->curr_clip]; in drm_atomic_helper_damage_iter_next()
|
H A D | drm_atomic.c | 556 struct drm_mode_rect *clips; in drm_atomic_plane_check() local 631 clips = drm_plane_get_damage_clips(new_plane_state); in drm_atomic_plane_check() 636 if (clips->x1 >= clips->x2 || in drm_atomic_plane_check() 637 clips->y1 >= clips->y2 || in drm_atomic_plane_check() 638 clips->x1 < 0 || in drm_atomic_plane_check() 639 clips->y1 < 0 || in drm_atomic_plane_check() 640 clips->x2 > fb_width || in drm_atomic_plane_check() 641 clips->y2 > fb_height) { in drm_atomic_plane_check() 643 plane->base.id, plane->name, clips->x1, in drm_atomic_plane_check() 644 clips->y1, clips->x2, clips->y2); in drm_atomic_plane_check() [all …]
|
H A D | drm_framebuffer.c | 584 struct drm_clip_rect *clips = NULL; in drm_mode_dirtyfb_ioctl() local 619 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in drm_mode_dirtyfb_ioctl() 620 if (!clips) { in drm_mode_dirtyfb_ioctl() 625 ret = copy_from_user(clips, clips_ptr, in drm_mode_dirtyfb_ioctl() 626 num_clips * sizeof(*clips)); in drm_mode_dirtyfb_ioctl() 635 clips, num_clips); in drm_mode_dirtyfb_ioctl() 641 kfree(clips); in drm_mode_dirtyfb_ioctl()
|
/netbsd/external/gpl3/gdb/dist/sim/testsuite/sim/sh/ |
H A D | clip.s | 1 # sh testcase for clips, clipu 12 clips.b r1 50 clips.w r1
|
/netbsd/external/gpl3/gdb.old/dist/sim/testsuite/sim/sh/ |
H A D | clip.s | 1 # sh testcase for clips, clipu 12 clips.b r1 50 clips.w r1
|
/netbsd/sys/external/bsd/drm2/dist/include/drm/ |
H A D | drm_damage_helper.h | 60 const struct drm_rect *clips; member 74 unsigned int color, struct drm_clip_rect *clips,
|
H A D | drm_framebuffer.h | 101 unsigned color, struct drm_clip_rect *clips,
|
/netbsd/sys/external/bsd/drm2/dist/drm/vboxvideo/ |
H A D | vbox_mode.c | 293 struct drm_mode_rect *clips; in vbox_primary_atomic_update() local 302 clips = drm_plane_get_damage_clips(plane->state); in vbox_primary_atomic_update() 310 for (i = 0; i < num_clips; ++i, ++clips) { in vbox_primary_atomic_update() 314 cmd_hdr.x = (s16)clips->x1; in vbox_primary_atomic_update() 315 cmd_hdr.y = (s16)clips->y1; in vbox_primary_atomic_update() 316 cmd_hdr.w = (u16)clips->x2 - clips->x1; in vbox_primary_atomic_update() 317 cmd_hdr.h = (u16)clips->y2 - clips->y1; in vbox_primary_atomic_update()
|
/netbsd/external/gpl3/gdb/dist/gas/testsuite/gas/sh/ |
H A D | sh2a.s | 29 clips.b r3 30 clips.w r3
|
H A D | sh2a.d | 22 0x00000030 43 91 clips.b r3 23 0x00000032 43 95 clips.w r3
|
/netbsd/external/gpl3/gdb.old/dist/gas/testsuite/gas/sh/ |
H A D | sh2a.s | 29 clips.b r3 30 clips.w r3
|
H A D | sh2a.d | 22 0x00000030 43 91 clips.b r3 23 0x00000032 43 95 clips.w r3
|
/netbsd/external/gpl3/gdb/dist/gas/testsuite/gas/nds32/ |
H A D | alu-2.s | 19 clips $r0, $r1, 1
|
H A D | alu-2.d | 27 0+0044 <[^>]*> clips \$r0, \$r1, #1
|
/netbsd/external/gpl3/gdb.old/dist/gas/testsuite/gas/nds32/ |
H A D | alu-2.s | 19 clips $r0, $r1, 1
|
H A D | alu-2.d | 27 0+0044 <[^>]*> clips \$r0, \$r1, #1
|
/netbsd/external/gpl3/gcc.old/dist/gcc/config/sh/ |
H A D | predicates.md | 93 ;; clips.b or clips.w insn. 100 ;; clips.b or clips.w insn.
|
/netbsd/external/gpl3/gcc/dist/gcc/config/sh/ |
H A D | predicates.md | 93 ;; clips.b or clips.w insn. 100 ;; clips.b or clips.w insn.
|