summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/mach64/mach64_ioctl.h
diff options
context:
space:
mode:
authorFelix Kuehling <fxkuehl@gmx.de>2006-10-02 20:34:06 +0000
committerFelix Kuehling <fxkuehl@gmx.de>2006-10-02 20:34:06 +0000
commit3fd5aa88eaa6584c9d7292dd0d98499ff1055055 (patch)
tree2db42cf848b7a17f89d32e3a02ab66aab4a45794 /src/mesa/drivers/dri/mach64/mach64_ioctl.h
parent346a239f0144b5ba7ebad39b70ee7e125264cd6e (diff)
Bugzilla 6242: [mach64] Use private DMA buffers (only)
https://bugs.freedesktop.org/show_bug.cgi?id=6242 Patch by George Sapountzis: https://bugs.freedesktop.org/attachment.cgi?id=6271 Update to new mach64 DRM 2.0.0 with private DMA buffers. Handle EAGAIN in mach64FireBlitLocked: call drmCommandWrite up to MACH64_TIMEOUT times when EAGAIN is returned. Also handle EAGAIN in mach64FlushVerticesLocked.
Diffstat (limited to 'src/mesa/drivers/dri/mach64/mach64_ioctl.h')
-rw-r--r--src/mesa/drivers/dri/mach64/mach64_ioctl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/mach64/mach64_ioctl.h b/src/mesa/drivers/dri/mach64/mach64_ioctl.h
index 8bd958531c..52fe863484 100644
--- a/src/mesa/drivers/dri/mach64/mach64_ioctl.h
+++ b/src/mesa/drivers/dri/mach64/mach64_ioctl.h
@@ -74,7 +74,7 @@ static __inline void *mach64AllocDmaLocked( mach64ContextPtr mmesa, int bytes )
return head;
}
-extern void mach64FireBlitLocked( mach64ContextPtr mmesa, drmBufPtr buffer,
+extern void mach64FireBlitLocked( mach64ContextPtr mmesa, void *buffer,
GLint offset, GLint pitch, GLint format,
GLint x, GLint y, GLint width, GLint height );