summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2001-07-23 03:44:17 +0000
committerKeith Packard <keithp@keithp.com>2001-07-23 03:44:17 +0000
commitd2d221a012950b98e48e47b6dea38e6ad385fef8 (patch)
treee8599a1a81a10baf099b179851f357c1256ad5bf
parent79486b3b5c792a990cb73b4efa453218262e605f (diff)
kdrive/mach64: Force read of GUI_STAT on every op to avoid problems across
suspend/resume
-rw-r--r--hw/kdrive/mach64/mach64draw.c3
1 files changed, 2 insertions, 1 deletions
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;