Lines Matching refs:cliprects
449 struct drm_clip_rect *cliprects,
466 ret = i915_emit_box(dev, &cliprects[i],
483 struct drm_clip_rect *cliprects)
499 ret = i915_emit_box(dev, &cliprects[i],
629 struct drm_clip_rect *cliprects = NULL;
639 DRM_DEBUG_DRIVER("i915 batchbuffer, start %x used %d cliprects %d\n",
648 cliprects = kcalloc(batch->num_cliprects,
651 if (cliprects == NULL)
654 ret = copy_from_user(cliprects, batch->cliprects,
664 ret = i915_dispatch_batchbuffer(dev, batch, cliprects);
671 kfree(cliprects, batch->num_cliprects * sizeof(struct drm_clip_rect));
684 struct drm_clip_rect *cliprects = NULL;
688 DRM_DEBUG_DRIVER("i915 cmdbuffer, buf %p sz %d cliprects %d\n",
710 cliprects = kcalloc(cmdbuf->num_cliprects,
712 if (cliprects == NULL) {
717 ret = copy_from_user(cliprects, cmdbuf->cliprects,
727 ret = i915_dispatch_cmdbuffer(dev, cmdbuf, cliprects, batch_data);
738 kfree(cliprects, cmdbuf->num_cliprects * sizeof(struct drm_clip_rect));