Lines Matching defs:indirect
1617 DRM_DEBUG("indirect: buf=%d s=0x%x e=0x%x\n", buf->idx, start, end);
1636 /* Fire off the indirect buffer */
1842 * Dispatch the indirect buffer.
2629 drm_radeon_indirect_t indirect;
2639 DRM_COPYFROM_WITH_RETURN(&indirect, (void *) data, sizeof (indirect));
2641 DRM_DEBUG("indirect: idx=%d s=%d e=%d d=%d\n",
2642 indirect.idx, indirect.start, indirect.end, indirect.discard);
2644 if (indirect.idx < 0 || indirect.idx >= dma->buf_count) {
2646 indirect.idx, dma->buf_count - 1);
2650 buf = dma->buflist[indirect.idx];
2658 DRM_ERROR("sending pending buffer %d\n", indirect.idx);
2662 if (indirect.start < buf->used) {
2663 DRM_ERROR("reusing indirect: start=0x%x actual=0x%x\n",
2664 indirect.start, buf->used);
2671 buf->used = indirect.end;
2674 * Wait for the 3D stream to idle before the indirect buffer
2684 * Dispatch the indirect buffer full of commands from the
2688 radeon_cp_dispatch_indirect(dev, buf, indirect.start, indirect.end);
2689 if (indirect.discard) {