Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/gpu/drm/i915/
Di915_ioc32.c44 u32 cliprects; /* pointer to userspace cliprects */ member
65 || __put_user((int __user *)(unsigned long)batchbuffer32.cliprects, in compat_i915_batchbuffer()
66 &batchbuffer->cliprects)) in compat_i915_batchbuffer()
79 u32 cliprects; /* pointer to userspace cliprects */ member
100 || __put_user((int __user *)(unsigned long)cmdbuffer32.cliprects, in compat_i915_cmdbuffer()
101 &cmdbuffer->cliprects)) in compat_i915_cmdbuffer()
Di915_dma.c421 struct drm_clip_rect *cliprects, in i915_dispatch_cmdbuffer() argument
438 ret = i915_emit_box(dev, &cliprects[i], in i915_dispatch_cmdbuffer()
455 struct drm_clip_rect *cliprects) in i915_dispatch_batchbuffer() argument
471 ret = i915_emit_box(dev, &cliprects[i], in i915_dispatch_batchbuffer()
600 struct drm_clip_rect *cliprects = NULL; in i915_batchbuffer() local
616 cliprects = kcalloc(batch->num_cliprects, in i915_batchbuffer()
619 if (cliprects == NULL) in i915_batchbuffer()
622 ret = copy_from_user(cliprects, batch->cliprects, in i915_batchbuffer()
632 ret = i915_dispatch_batchbuffer(dev, batch, cliprects); in i915_batchbuffer()
639 kfree(cliprects); in i915_batchbuffer()
[all …]
Di915_gem_execbuffer.c969 struct drm_clip_rect *cliprects = NULL; in i915_gem_do_execbuffer() local
1053 cliprects = kmalloc(args->num_cliprects * sizeof(*cliprects), in i915_gem_do_execbuffer()
1055 if (cliprects == NULL) { in i915_gem_do_execbuffer()
1060 if (copy_from_user(cliprects, in i915_gem_do_execbuffer()
1063 sizeof(*cliprects)*args->num_cliprects)) { in i915_gem_do_execbuffer()
1169 if (cliprects) { in i915_gem_do_execbuffer()
1171 ret = i915_emit_box(dev, &cliprects[i], in i915_gem_do_execbuffer()
1205 kfree(cliprects); in i915_gem_do_execbuffer()
/linux-2.6.39/include/drm/
Di915_drm.h252 struct drm_clip_rect __user *cliprects; /* pointer to userspace cliprects */ member
264 struct drm_clip_rect __user *cliprects; /* pointer to userspace cliprects */ member