[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Patch to glint driver for 4.2.0



I'm trying out the 4.2.0-pre1v1 xserver-xfree86 on i386.  I have a
3DLabs Oxygen VX1-1600SW video card (which uses the glint driver)
hooked up to an SGI flat panel.  Without the following patch (taken
from xfree86 CVS), every so often my display will turn funky colors,
or video output will die altogether.  Please include this patch in the
Debian package.

Thanks,
  Roland

--- xc/programs/Xserver/hw/xfree86/drivers/glint/glint_driver.c.orig	Mon Jun 24 07:31:53 2002
+++ xc/programs/Xserver/hw/xfree86/drivers/glint/glint_driver.c	Mon Jun 24 07:33:34 2002
@@ -3607,12 +3631,15 @@ GLINTBlockHandler (
     ScreenPtr      pScreen = screenInfo.screens[i];
     ScrnInfoPtr    pScrn = xf86Screens[i];
     GLINTPtr       pGlint = GLINTPTR(pScrn);
+    int sigstate = xf86BlockSIGIO();
 
     if(pGlint->CursorColorCallback) 
 	(*pGlint->CursorColorCallback)(pScrn);
 
     if(pGlint->LoadCursorCallback) 
 	(*pGlint->LoadCursorCallback)(pScrn);
+
+    xf86UnblockSIGIO(sigstate);
 
     pScreen->BlockHandler = pGlint->BlockHandler;
     (*pScreen->BlockHandler) (i, blockData, pTimeout, pReadmask);

-- 
Roland Dreier  <roland@digitalvampire.org>  GPG Key: 1024D/E0EEFAC0
Fingerprint:     A89F B5E9 C185 F34D BD50  4009 37E2 25CC E0EE FAC0

 Sending >500KB attachments is forbidden by the Geneva Convention.
        Your country may be at risk if you fail to comply.


-- 
To UNSUBSCRIBE, email to debian-x-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: