kdrive/mach64: Force read of GUI_STAT on every op to avoid problems across

suspend/resume
This commit is contained in:
Keith Packard 2001-07-23 03:44:17 +00:00
parent 79486b3b5c
commit d2d221a012

View File

@ -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;