Lines Matching refs:indirect
645 DRM_DEBUG("indirect: buf=%d s=0x%x e=0x%x\n", buf->idx, start, end);
664 /* Fire off the indirect buffer */
677 /* Emit the indirect buffer age */
824 /* Dispatch the indirect buffer.
1568 drm_r128_indirect_t indirect;
1577 DRM_COPY_FROM_USER_IOCTL(indirect, (drm_r128_indirect_t __user *) data,
1578 sizeof(indirect));
1580 DRM_DEBUG("indirect: idx=%d s=%d e=%d d=%d\n",
1581 indirect.idx, indirect.start, indirect.end, indirect.discard);
1583 if (indirect.idx < 0 || indirect.idx >= dma->buf_count) {
1585 indirect.idx, dma->buf_count - 1);
1589 buf = dma->buflist[indirect.idx];
1598 DRM_ERROR("sending pending buffer %d\n", indirect.idx);
1602 if (indirect.start < buf->used) {
1603 DRM_ERROR("reusing indirect: start=0x%x actual=0x%x\n",
1604 indirect.start, buf->used);
1611 buf->used = indirect.end;
1612 buf_priv->discard = indirect.discard;
1615 /* Dispatch the indirect buffer full of commands from the
1619 r128_cce_dispatch_indirect(dev, buf, indirect.start, indirect.end);