ports/72063
Eric Anholt
eta at lclark.edu
Wed Oct 13 00:20:28 PDT 2004
The following reply was made to PR ports/72063; it has been noted by GNATS.
From: Eric Anholt <eta at lclark.edu>
To: gnats <freebsd-gnats-submit at FreeBSD.ORG>
Cc:
Subject: Re: ports/72063
Date: Wed, 13 Oct 2004 00:18:14 -0700
--=-wmzqGz2pkyoE/9EnG+Q1
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
This one should be fixed in X.Org r6.8.0, with the patch attached, which
is also at http://people.freebsd.org/~anholt/X/patch-mga-mystique.diff
(for your whitespace pleasure)
Just drop it in your x11-servers/xorg-server/files directory and
recompile. If this fixes it, I might commit it during the slush.
--
Eric Anholt eta at lclark.edu
http://people.freebsd.org/~anholt/ anholt at FreeBSD.org
--=-wmzqGz2pkyoE/9EnG+Q1
Content-Disposition: attachment; filename=patch-mga-mystique.diff
Content-Type: text/x-patch; name=patch-mga-mystique.diff; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Index: programs/Xserver/hw/xfree86/drivers/mga/mga_storm.c
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/hw/xfree86/drivers/mga/mga_storm.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -u -r1.5 -r1.6
--- programs/Xserver/hw/xfree86/drivers/mga/mga_storm.c 3 Aug 2004 08:52:16 -0000 1.5
+++ programs/Xserver/hw/xfree86/drivers/mga/mga_storm.c 13 Aug 2004 18:24:08 -0000 1.6
@@ -1076,8 +1076,8 @@
CHECK_DMA_QUIESCENT(pMga, pScrn);
- /* This reportedly causes a freeze for the Mystique. */
- if (pMga->Chipset != PCI_CHIP_MGA1064)
+ /* MGAISBUSY() reportedly causes a freeze for Mystique revision 2 and older */
+ if (!(pMga->Chipset == PCI_CHIP_MGA1064 && (pMga->ChipRev >= 0 && pMga->ChipRev <= 2)))
while(MGAISBUSY());
/* flush cache before a read (mga-1064g 5.1.6) */
OUTREG8(MGAREG_CRTC_INDEX, 0);
--=-wmzqGz2pkyoE/9EnG+Q1--
More information about the freebsd-x11
mailing list