Home
last modified time | relevance | path

Searched refs:cliprects (Results 1 – 6 of 6) sorted by relevance

/trueos/sys/dev/drm2/i915/
HDi915_ioc32.c53 u32 cliprects; /* pointer to userspace cliprects */ member
66 batchbuffer.cliprects = (void *)(unsigned long)batchbuffer32->cliprects; in compat_i915_batchbuffer()
77 u32 cliprects; /* pointer to userspace cliprects */ member
89 cmdbuffer.cliprects = (void *)(unsigned long)cmdbuffer32->cliprects; in compat_i915_cmdbuffer()
HDi915_dma.c495 drm_i915_cmdbuffer_t * cmd, struct drm_clip_rect *cliprects, void *cmdbuf) in i915_dispatch_cmdbuffer() argument
511 ret = i915_emit_box_p(dev, &cmd->cliprects[i], in i915_dispatch_cmdbuffer()
528 drm_i915_batchbuffer_t * batch, struct drm_clip_rect *cliprects) in i915_dispatch_batchbuffer() argument
548 int ret = i915_emit_box_p(dev, &cliprects[i], in i915_dispatch_batchbuffer()
672 struct drm_clip_rect *cliprects; in i915_batchbuffer() local
688 cliprects = malloc(batch->num_cliprects * in i915_batchbuffer()
692 ret = -copyin(batch->cliprects, cliprects, in i915_batchbuffer()
697 cliprects = NULL; in i915_batchbuffer()
701 ret = i915_dispatch_batchbuffer(dev, batch, cliprects); in i915_batchbuffer()
708 free(cliprects, DRM_MEM_DMA); in i915_batchbuffer()
[all …]
HDi915_gem_execbuffer.c1121 struct drm_clip_rect *cliprects = NULL; in i915_gem_do_execbuffer() local
1224 if (args->num_cliprects > UINT_MAX / sizeof(*cliprects)) { in i915_gem_do_execbuffer()
1230 cliprects = malloc( sizeof(*cliprects) * args->num_cliprects, in i915_gem_do_execbuffer()
1232 ret = -copyin((void *)(uintptr_t)args->cliprects_ptr, cliprects, in i915_gem_do_execbuffer()
1233 sizeof(*cliprects) * args->num_cliprects); in i915_gem_do_execbuffer()
1368 if (cliprects) { in i915_gem_do_execbuffer()
1370 ret = i915_emit_box_p(dev, &cliprects[i], in i915_gem_do_execbuffer()
1412 free(cliprects, DRM_I915_GEM); in i915_gem_do_execbuffer()
HDi915_drm.h286 struct drm_clip_rect __user *cliprects; /* pointer to userspace cliprects */ member
298 struct drm_clip_rect __user *cliprects; /* pointer to userspace cliprects */ member
/trueos/sys/dev/drm/
HDi915_dma.c472 ret = i915_emit_box(dev, cmd->cliprects, i, in i915_dispatch_cmdbuffer()
491 struct drm_clip_rect __user *boxes = batch->cliprects; in i915_dispatch_batchbuffer()
634 if (batch->num_cliprects && DRM_VERIFYAREA_READ(batch->cliprects, in i915_batchbuffer()
640 ret = vslock(batch->cliprects, cliplen); in i915_batchbuffer()
651 vsunlock(batch->cliprects, cliplen); in i915_batchbuffer()
678 if (cmdbuf->num_cliprects && DRM_VERIFYAREA_READ(cmdbuf->cliprects, in i915_cmdbuffer()
685 ret = vslock(cmdbuf->cliprects, cliplen); in i915_cmdbuffer()
693 vsunlock(cmdbuf->cliprects, cliplen); in i915_cmdbuffer()
704 vsunlock(cmdbuf->cliprects, cliplen); in i915_cmdbuffer()
HDi915_drm.h255 struct drm_clip_rect __user *cliprects; /* pointer to userspace cliprects */ member
267 struct drm_clip_rect __user *cliprects; /* pointer to userspace cliprects */ member