Lines Matching refs:cmdbuf
450 void *cmdbuf)
472 ret = i915_emit_cmds(dev, cmdbuf, cmd->sz / 4);
683 drm_i915_cmdbuffer_t *cmdbuf = data;
689 (void *)cmdbuf->buf, cmdbuf->sz, cmdbuf->num_cliprects);
696 if (cmdbuf->num_cliprects < 0)
699 batch_data = kmalloc(cmdbuf->sz, GFP_KERNEL);
703 ret = copy_from_user(batch_data, cmdbuf->buf, cmdbuf->sz);
709 if (cmdbuf->num_cliprects) {
710 cliprects = kcalloc(cmdbuf->num_cliprects,
717 ret = copy_from_user(cliprects, cmdbuf->cliprects,
718 cmdbuf->num_cliprects *
727 ret = i915_dispatch_cmdbuffer(dev, cmdbuf, cliprects, batch_data);
738 kfree(cliprects, cmdbuf->num_cliprects * sizeof(struct drm_clip_rect));
740 kfree(batch_data, cmdbuf->sz);