Lines Matching defs:batch
512 drm_i915_batchbuffer_t * batch)
515 drm_clip_rect_t __user *boxes = batch->cliprects;
516 int nbox = batch->num_cliprects;
520 if ((batch->start | batch->used) & 0x7) {
532 batch->DR1, batch->DR4);
540 OUT_RING(batch->start | MI_BATCH_NON_SECURE);
541 OUT_RING(batch->start + batch->used - 4);
548 OUT_RING(batch->start);
551 OUT_RING(batch->start | MI_BATCH_NON_SECURE);
651 drm_i915_batchbuffer_t batch;
665 batch.start = batchbuffer32_t.start;
666 batch.used = batchbuffer32_t.used;
667 batch.DR1 = batchbuffer32_t.DR1;
668 batch.DR4 = batchbuffer32_t.DR4;
669 batch.num_cliprects = batchbuffer32_t.num_cliprects;
670 batch.cliprects = (drm_clip_rect_t __user *)
673 DRM_COPYFROM_WITH_RETURN(&batch, (void *) data,
674 sizeof(batch));
677 batch.start, batch.used, batch.num_cliprects, dev_priv->counter);
682 if (batch.num_cliprects && DRM_VERIFYAREA_READ(batch.cliprects,
683 batch.num_cliprects *
690 ret = i915_dispatch_batchbuffer(dev, &batch);