Lines Matching refs:batch
457 drm_i915_batchbuffer_t * batch,
460 int nbox = batch->num_cliprects;
463 if ((batch->start | batch->used) & 0x7) {
475 batch->DR1, batch->DR4);
484 OUT_RING(batch->start);
487 OUT_RING(batch->start | MI_BATCH_NON_SECURE);
493 OUT_RING(batch->start | MI_BATCH_NON_SECURE);
494 OUT_RING(batch->start + batch->used - 4);
594 drm_i915_batchbuffer_t *batch = data;
604 batch->start, batch->used, batch->num_cliprects);
608 if (batch->num_cliprects < 0)
611 if (batch->num_cliprects) {
612 cliprects = kcalloc(batch->num_cliprects,
618 ret = copy_from_user(cliprects, batch->cliprects,
619 batch->num_cliprects *
628 ret = i915_dispatch_batchbuffer(dev, batch, cliprects);