NetBSD-Bugs archive

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

Re: xsrc/40939: nvidia driver can not deal with COMPOSITE/DAMAGE extensions



The following reply was made to PR xsrc/40939; it has been noted by GNATS.

From: "Jared D. McNeill" <jmcneill%invisible.ca@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: xsrc-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
 netbsd-bugs%netbsd.org@localhost
Subject: Re: xsrc/40939: nvidia driver can not deal with COMPOSITE/DAMAGE
 extensions
Date: Sun, 01 Mar 2009 16:20:26 -0500

 This is a multi-part message in MIME format.
 --------------070209020106070005040700
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Please try the following patch from xorg trunk.
 
 
 --------------070209020106070005040700
 Content-Type: text/plain;
  name="pr40939.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="pr40939.patch"
 
 Index: xaaInitAccel.c
 ===================================================================
 RCS file: 
/cvsroot/xsrc/external/mit/xorg-server/dist/hw/xfree86/xaa/xaaInitAccel.c,v
 retrieving revision 1.1.1.1
 diff -u -p -r1.1.1.1 xaaInitAccel.c
 --- xaaInitAccel.c     31 Jul 2008 19:49:48 -0000      1.1.1.1
 +++ xaaInitAccel.c     1 Mar 2009 21:19:46 -0000
 @@ -43,7 +43,8 @@ typedef enum {
      XAAOPT_WRITE_BITMAP,
      XAAOPT_WRITE_PIXMAP,
      XAAOPT_PIXMAP_CACHE,
 -    XAAOPT_OFFSCREEN_PIXMAPS
 +    XAAOPT_OFFSCREEN_PIXMAPS,
 +    XAAOPT_HAS_DUMB_INVERTED_OPTION_SENSE
  } XAAOpts;
  
  static const OptionInfoRec XAAOptions[] = {
 @@ -89,6 +90,8 @@ static const OptionInfoRec XAAOptions[] 
                                OPTV_BOOLEAN,   {0}, FALSE },
      {XAAOPT_OFFSCREEN_PIXMAPS,                "XaaNoOffscreenPixmaps",
                                OPTV_BOOLEAN,   {0}, FALSE },
 +    {XAAOPT_HAS_DUMB_INVERTED_OPTION_SENSE,   "XaaOffscreenPixmaps",
 +                              OPTV_BOOLEAN,   {0}, FALSE },
      { -1,                             NULL,
                                OPTV_NONE,      {0}, FALSE }
  };
 @@ -542,7 +545,8 @@ XAAInitAccel(ScreenPtr pScreen, XAAInfoR
  #define XAAMSG(s) do { if (serverGeneration == 1) xf86ErrorF(s); } while (0)
  
      if((infoRec->Flags & OFFSCREEN_PIXMAPS) && HaveScreenToScreenCopy &&
 -              !xf86IsOptionSet(options, XAAOPT_OFFSCREEN_PIXMAPS)) {
 +            xf86IsOptionSet(options, XAAOPT_HAS_DUMB_INVERTED_OPTION_SENSE))
 +    {
        XAAMSG("\tOffscreen Pixmaps\n");
      } else {
        infoRec->Flags &= ~OFFSCREEN_PIXMAPS;
 
 --------------070209020106070005040700--
 


Home | Main Index | Thread Index | Old Index