From owner-freebsd-x11@FreeBSD.ORG Wed Oct 13 07:20:27 2004 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E262616A4CE for ; Wed, 13 Oct 2004 07:20:27 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0C3343D49 for ; Wed, 13 Oct 2004 07:20:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i9D7KR5T063869 for ; Wed, 13 Oct 2004 07:20:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9D7KRlk063868; Wed, 13 Oct 2004 07:20:27 GMT (envelope-from gnats) Date: Wed, 13 Oct 2004 07:20:27 GMT Message-Id: <200410130720.i9D7KRlk063868@freefall.freebsd.org> To: x11@FreeBSD.org From: Eric Anholt Subject: Re: ports/72063 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Eric Anholt List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2004 07:20:28 -0000 The following reply was made to PR ports/72063; it has been noted by GNATS. From: Eric Anholt To: gnats 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@lclark.edu http://people.freebsd.org/~anholt/ anholt@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--