summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Delgass <ldelgass@users.sourceforge.net>2002-04-09 22:27:42 +0000
committerLeif Delgass <ldelgass@users.sourceforge.net>2002-04-09 22:27:42 +0000
commit0873cfb11611e27b35e241e498463cffc27686f1 (patch)
tree407f0ed4915f1b3a4e337d95612096c4d27c76fb
parentfe04858d8cf6d193713fa699c74dae89d75afd64 (diff)
Make sure we wait for enough FIFO entries (needed to add 2 to account for
scissors being added in a couple places).
-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 e76dc83a..62f16eaf 100644
--- a/linux/mach64_state.c
+++ b/linux/mach64_state.c
@@ -168,7 +168,7 @@ static void mach64_dma_dispatch_clear( drm_device_t *dev,
if ( flags & MACH64_DEPTH ) {
/* Setup for depth buffer clear
*/
- DMAGETPTR( dev_priv, 12 );
+ DMAGETPTR( dev_priv, 14 );
DMAOUTREG( MACH64_Z_CNTL, 0 );
DMAOUTREG( MACH64_SCALE_3D_CNTL, 0 );
@@ -228,7 +228,7 @@ static void mach64_dma_dispatch_swap( drm_device_t *dev )
break;
}
- DMAGETPTR( dev_priv, 10 );
+ DMAGETPTR( dev_priv, 12 );
DMAOUTREG( MACH64_Z_CNTL, 0 );
DMAOUTREG( MACH64_SCALE_3D_CNTL, 0 );