From d2d221a012950b98e48e47b6dea38e6ad385fef8 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 23 Jul 2001 03:44:17 +0000 Subject: [PATCH] kdrive/mach64: Force read of GUI_STAT on every op to avoid problems across suspend/resume --- hw/kdrive/mach64/mach64draw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/kdrive/mach64/mach64draw.c b/hw/kdrive/mach64/mach64draw.c index 1367c56de..75508ae12 100644 --- a/hw/kdrive/mach64/mach64draw.c +++ b/hw/kdrive/mach64/mach64draw.c @@ -21,7 +21,7 @@ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. */ -/* $XFree86: xc/programs/Xserver/hw/kdrive/mach64/mach64draw.c,v 1.4 2001/06/19 09:31:47 keithp Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/kdrive/mach64/mach64draw.c,v 1.5 2001/06/23 03:41:24 keithp Exp $ */ #include "mach64.h" #include "mach64draw.h" @@ -94,6 +94,7 @@ mach64Setup (ScreenPtr pScreen, CARD32 combo, int wait) mach64ScreenInfo(pScreenPriv); mach64CardInfo(pScreenPriv); + avail = 0; reg = mach64c->reg; triple = mach64s->bpp24;