Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jun 2001 08:36:18 -0500
From:      Andrew Hesford <ajh3@usrlib.org>
To:        Andrew Hesford <ajh3@usrlib.org>
Cc:        Will Andrews <will@physics.purdue.edu>, FreeBSD-hackers <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: XFree86 4.1.0 and i810
Message-ID:  <20010607083618.B42740@core.usrlib.org>
In-Reply-To: <20010607083506.A42740@core.usrlib.org>; from ajh3@usrlib.org on Thu, Jun 07, 2001 at 08:35:06AM -0500
References:  <20010606232045.A453@core.usrlib.org> <20010607003250.B40894@core.usrlib.org> <20010607065915.V81224@bohr.physics.purdue.edu> <20010607083506.A42740@core.usrlib.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010607083618.B42740>