From owner-freebsd-hackers Thu Jun 7 6:37:31 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from core.usrlib.org (CC2-861.charter-stl.com [24.217.115.99]) by hub.freebsd.org (Postfix) with ESMTP id 0493437B401 for ; Thu, 7 Jun 2001 06:37:29 -0700 (PDT) (envelope-from ajh3@core.usrlib.org) Received: by core.usrlib.org (Postfix, from userid 1001) id 41D12A874; Thu, 7 Jun 2001 08:36:18 -0500 (CDT) Date: Thu, 7 Jun 2001 08:36:18 -0500 From: Andrew Hesford To: Andrew Hesford Cc: Will Andrews , FreeBSD-hackers Subject: Re: XFree86 4.1.0 and i810 Message-ID: <20010607083618.B42740@core.usrlib.org> References: <20010606232045.A453@core.usrlib.org> <20010607003250.B40894@core.usrlib.org> <20010607065915.V81224@bohr.physics.purdue.edu> <20010607083506.A42740@core.usrlib.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="mP3DRpeJDSE+ciuQ" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010607083506.A42740@core.usrlib.org>; from ajh3@usrlib.org on Thu, Jun 07, 2001 at 08:35:06AM -0500 X-Loop: Andrew Hesford Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jun 07, 2001 at 08:35:06AM -0500, Andrew Hesford wrote: > The solution is to comment out the calls to I810BindGARTMemory() and > I810UnbindGARTMemory() in the VT-switching functions. The end result is > that I810EnterVT() and I810LeaveVT() are now identical in 4.1.0 to the > ones in 4.0.1, and the server no longer crashes when one switches > terminals. I have attached a patch, and hope that the XFree86 port > maintainer will consider adding this to the files/ directory to achieve > maximum distribution. I will contact him shortly. Damn it, I forgot to include the patch. Here we go. -- Andrew Hesford ajh3@usrlib.org --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch-i810 --- programs/Xserver/hw/xfree86/drivers/i810/i810_driver.c.orig Tue May 29 17:51:29 2001 +++ programs/Xserver/hw/xfree86/drivers/i810/i810_driver.c Thu Jun 7 00:12:25 2001 @@ -2006,9 +2006,10 @@ if (I810_DEBUG & DEBUG_VERBOSE_DRI) ErrorF("\n\nENTER VT\n"); +/*********BUGGY********************* if (! I810BindGARTMemory(pScrn)) return FALSE; - +***********************************/ #ifdef XF86DRI if (pI810->directRenderingEnabled) { if (I810_DEBUG & DEBUG_VERBOSE_DRI) @@ -2047,9 +2048,10 @@ } I810Restore(pScrn); +/*********BUGGY*********************** if (! I810UnbindGARTMemory(pScrn)) return; - +*************************************/ vgaHWLock(hwp); } --mP3DRpeJDSE+ciuQ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message