From 3e42514360d15f63c250875e3aa4eb6ddd748763 Mon Sep 17 00:00:00 2001
From: Jeff Hartmann <jhartmann@valinux.com>
Date: Wed, 16 Aug 2000 21:13:24 +0000
Subject: Fix for bug #111744 which caused any application to never render and
 dma to     stall on certain mga cards

---
 linux/mga_dma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/linux/mga_dma.c b/linux/mga_dma.c
index d02c3b58..0df0906e 100644
--- a/linux/mga_dma.c
+++ b/linux/mga_dma.c
@@ -765,7 +765,7 @@ static int mga_dma_initialize(drm_device_t *dev, drm_mga_init_t *init) {
 	dev_priv->mAccess = init->mAccess;
    	init_waitqueue_head(&dev_priv->flush_queue);
 	init_waitqueue_head(&dev_priv->buf_queue);
-	dev_priv->WarpPipe = -1;
+	dev_priv->WarpPipe = 0xff000000;
 
    	DRM_DEBUG("chipset: %d ucode_size: %d backOffset: %x depthOffset: %x\n",
 		  dev_priv->chipset, dev_priv->warp_ucode_size, 
-- 
cgit v1.2.3