summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Fonseca <jrfonseca@users.sourceforge.net>2002-04-21 23:38:55 +0000
committerJose Fonseca <jrfonseca@users.sourceforge.net>2002-04-21 23:38:55 +0000
commit0436f9bb35509b2a4d2a655970289a0234268aad (patch)
tree3a3db4a3d6c084473bcc0eab7afa8c6852ed4c15
parent3c16d33f8aeea84d847abe1a5099d06db0196b00 (diff)
Fixed the DMA emul code which was checking the FIFO every 17th entry
instead of 16
-rw-r--r--linux/mach64_state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/mach64_state.c b/linux/mach64_state.c
index b2f2a714..2a55242a 100644
--- a/linux/mach64_state.c
+++ b/linux/mach64_state.c
@@ -454,8 +454,8 @@ static void mach64_dma_dispatch_vertex( drm_device_t *dev,
fifo = 16;
}
- else
- --fifo;
+
+ --fifo;
MACH64_WRITE( reg, *p++ );
used--;