Bugzilla 6242: [mach64] Use private DMA buffers (only)
authorFelix Kuehling <fxkuehl@gmx.de>
Mon, 2 Oct 2006 20:34:06 +0000 (20:34 +0000)
committerFelix Kuehling <fxkuehl@gmx.de>
Mon, 2 Oct 2006 20:34:06 +0000 (20:34 +0000)
commit3fd5aa88eaa6584c9d7292dd0d98499ff1055055
tree2db42cf848b7a17f89d32e3a02ab66aab4a45794
parent346a239f0144b5ba7ebad39b70ee7e125264cd6e
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.
src/mesa/drivers/dri/mach64/mach64_ioctl.c
src/mesa/drivers/dri/mach64/mach64_ioctl.h
src/mesa/drivers/dri/mach64/mach64_screen.c
src/mesa/drivers/dri/mach64/mach64_texmem.c