Lines Matching refs:indirect
1547 DRM_DEBUG("indirect: buf=%d s=0x%x e=0x%x\n", buf->idx, start, end);
1565 /* Fire off the indirect buffer */
1752 /* Dispatch the indirect buffer.
2428 drm_radeon_indirect_t indirect;
2433 DRM_COPY_FROM_USER_IOCTL(indirect,
2435 sizeof(indirect));
2437 DRM_DEBUG("indirect: idx=%d s=%d e=%d d=%d\n",
2438 indirect.idx, indirect.start, indirect.end, indirect.discard);
2440 if (indirect.idx < 0 || indirect.idx >= dma->buf_count) {
2442 indirect.idx, dma->buf_count - 1);
2446 buf = dma->buflist[indirect.idx];
2454 DRM_ERROR("sending pending buffer %d\n", indirect.idx);
2458 if (indirect.start < buf->used) {
2459 DRM_ERROR("reusing indirect: start=0x%x actual=0x%x\n",
2460 indirect.start, buf->used);
2467 buf->used = indirect.end;
2469 /* Wait for the 3D stream to idle before the indirect buffer
2478 /* Dispatch the indirect buffer full of commands from the
2482 radeon_cp_dispatch_indirect(dev, buf, indirect.start, indirect.end);
2483 if (indirect.discard) {