Searched refs:cliprects (Results 1 – 3 of 3) sorted by relevance
/drivers/gpu/drm/i915/ |
D | i915_ioc32.c | 44 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()
|
D | i915_dma.c | 445 struct drm_clip_rect *cliprects, in i915_dispatch_cmdbuffer() argument 462 ret = i915_emit_box(dev, &cliprects[i], in i915_dispatch_cmdbuffer() 479 struct drm_clip_rect *cliprects) in i915_dispatch_batchbuffer() argument 495 ret = i915_emit_box(dev, &cliprects[i], in i915_dispatch_batchbuffer() 625 struct drm_clip_rect *cliprects = NULL; in i915_batchbuffer() local 644 cliprects = kcalloc(batch->num_cliprects, in i915_batchbuffer() 647 if (cliprects == NULL) in i915_batchbuffer() 650 ret = copy_from_user(cliprects, batch->cliprects, in i915_batchbuffer() 660 ret = i915_dispatch_batchbuffer(dev, batch, cliprects); in i915_batchbuffer() 667 kfree(cliprects); in i915_batchbuffer() [all …]
|
D | i915_gem_execbuffer.c | 842 struct drm_clip_rect *cliprects = NULL; in i915_gem_do_execbuffer() local 940 if (args->num_cliprects > UINT_MAX / sizeof(*cliprects)) { in i915_gem_do_execbuffer() 946 cliprects = kmalloc(args->num_cliprects * sizeof(*cliprects), in i915_gem_do_execbuffer() 948 if (cliprects == NULL) { in i915_gem_do_execbuffer() 953 if (copy_from_user(cliprects, in i915_gem_do_execbuffer() 955 sizeof(*cliprects)*args->num_cliprects)) { in i915_gem_do_execbuffer() 1053 if (cliprects) { in i915_gem_do_execbuffer() 1055 ret = i915_emit_box(dev, &cliprects[i], in i915_gem_do_execbuffer() 1085 kfree(cliprects); in i915_gem_do_execbuffer()
|