]> git.pld-linux.org Git - packages/XFree86.git/commitdiff
- fixed SiS maxxfbmem driver comparison inversions (patch from rawhide).
authorkloczek <kloczek@pld-linux.org>
Thu, 5 Sep 2002 18:00:54 +0000 (18:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    XFree86-sis-maxxfbmem-fixup.patch -> 1.1

XFree86-sis-maxxfbmem-fixup.patch [new file with mode: 0644]

diff --git a/XFree86-sis-maxxfbmem-fixup.patch b/XFree86-sis-maxxfbmem-fixup.patch
new file mode 100644 (file)
index 0000000..2e7227b
--- /dev/null
@@ -0,0 +1,22 @@
+--- XFree86-4.2.1/xc/programs/Xserver/hw/xfree86/drivers/sis/sis_accel.c.maxxfbmem-fixup       Sun Aug 25 19:26:12 2002
++++ XFree86-4.2.1/xc/programs/Xserver/hw/xfree86/drivers/sis/sis_accel.c       Sun Aug 25 19:27:15 2002
+@@ -133,7 +133,7 @@
+     else 
+         offset = 0;
+     
+-    topFB = (pSiS->maxxfbmem >= (pSiS->FbMapSize - offset)) ?
++    topFB = (pSiS->maxxfbmem < (pSiS->FbMapSize - offset)) ?
+       pSiS->maxxfbmem : pSiS->FbMapSize - offset;
+     AvailFBArea.y2 = (topFB) / (pScrn->displayWidth *
+                       pScrn->bitsPerPixel / 8);
+--- XFree86-4.2.1/xc/programs/Xserver/hw/xfree86/drivers/sis/sis530_accel.c.maxxfbmem-fixup    Sun Aug 25 19:26:39 2002
++++ XFree86-4.2.0/xc/programs/Xserver/hw/xfree86/drivers/sis/sis530_accel.c    Sun Aug 25 19:26:56 2002
+@@ -135,7 +135,7 @@
+       else if (pSiS->TurboQueue || pSiS->HWCursor) 
+           offset = 32768;
+     }
+-    topFB = (pSiS->maxxfbmem >= pSiS->FbMapSize - offset) ?
++    topFB = (pSiS->maxxfbmem < pSiS->FbMapSize - offset) ?
+       pSiS->maxxfbmem : pSiS->FbMapSize - offset;
+     /* CPU To screen color expansion indirect method */
This page took 0.056011 seconds and 4 git commands to generate.