xorg-x11-server/disable-fbblt-opt.diff

23 lines
586 B
Diff

--- fb/fbblt.c.orig 2006-09-13 15:01:32.000000000 +0200
+++ fb/fbblt.c 2006-09-13 15:05:14.000000000 +0200
@@ -78,6 +78,11 @@ fbBlt (FbBits *srcLine,
}
#endif
+/*
+ * Disable optimization (introduced by ajax) due to a general vesa
+ * driver crash later in memcpy
+*/
+#if 0
if (alu == GXcopy && pm == FB_ALLONES && !reverse &&
!(srcX & 7) && !(dstX & 7) && !(width & 7)) {
int i;
@@ -99,6 +104,7 @@ fbBlt (FbBits *srcLine,
return;
}
+#endif
FbInitializeMergeRop(alu, pm);
destInvarient = FbDestInvarientMergeRop();