Lines Matching defs:cliprects
424 struct drm_clip_rect *cliprects,
441 ret = i915_emit_box(dev, cliprects, i,
458 struct drm_clip_rect *cliprects)
474 int ret = i915_emit_box(dev, cliprects, i,
596 struct drm_clip_rect *cliprects = NULL;
603 DRM_DEBUG_DRIVER("i915 batchbuffer, start %x used %d cliprects %d\n",
612 cliprects = kcalloc(batch->num_cliprects,
615 if (cliprects == NULL)
618 ret = copy_from_user(cliprects, batch->cliprects,
628 ret = i915_dispatch_batchbuffer(dev, batch, cliprects);
635 kfree(cliprects);
648 struct drm_clip_rect *cliprects = NULL;
652 DRM_DEBUG_DRIVER("i915 cmdbuffer, buf %p sz %d cliprects %d\n",
671 cliprects = kcalloc(cmdbuf->num_cliprects,
673 if (cliprects == NULL) {
678 ret = copy_from_user(cliprects, cmdbuf->cliprects,
688 ret = i915_dispatch_cmdbuffer(dev, cmdbuf, cliprects, batch_data);
699 kfree(cliprects);