Lines Matching refs:push
676 struct drm_nouveau_gem_pushbuf_push *push; in nouveau_gem_ioctl_pushbuf() local
719 push = u_memcpya(req->push, req->nr_push, sizeof(*push)); in nouveau_gem_ioctl_pushbuf()
720 if (IS_ERR(push)) in nouveau_gem_ioctl_pushbuf()
721 return nouveau_abi16_put(abi16, PTR_ERR(push)); in nouveau_gem_ioctl_pushbuf()
725 u_free(push); in nouveau_gem_ioctl_pushbuf()
731 if (push[i].bo_index >= req->nr_buffers) { in nouveau_gem_ioctl_pushbuf()
765 bo[push[i].bo_index].user_priv; in nouveau_gem_ioctl_pushbuf()
767 nv50_dma_push(chan, nvbo, push[i].offset, in nouveau_gem_ioctl_pushbuf()
768 push[i].length); in nouveau_gem_ioctl_pushbuf()
780 bo[push[i].bo_index].user_priv; in nouveau_gem_ioctl_pushbuf()
782 OUT_RING(chan, (nvbo->bo.offset + push[i].offset) | 2); in nouveau_gem_ioctl_pushbuf()
794 bo[push[i].bo_index].user_priv; in nouveau_gem_ioctl_pushbuf()
797 cmd = chan->push.vma.offset + ((chan->dma.cur + 2) << 2); in nouveau_gem_ioctl_pushbuf()
812 nouveau_bo_wr32(nvbo, (push[i].offset + in nouveau_gem_ioctl_pushbuf()
813 push[i].length - 8) / 4, cmd); in nouveau_gem_ioctl_pushbuf()
817 (nvbo->bo.offset + push[i].offset)); in nouveau_gem_ioctl_pushbuf()
837 u_free(push); in nouveau_gem_ioctl_pushbuf()
849 (chan->push.vma.offset + ((chan->dma.cur + 2) << 2)); in nouveau_gem_ioctl_pushbuf()