[Nouveau] [Bug 16911] xserver EXA optimization causes nv31 to crash

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 30 18:57:14 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=16911





--- Comment #4 from Stephane Marchesin <marchesin at icps.u-strasbg.fr>  2008-07-30 18:57:14 PST ---
So, there seems to be some issue with the first width/height computation ;
something like this helps:

-int width = min(pBox[i].x2 - pBox[i].x1, tileWidth);
-int height = min(pBox[i].y2 - pBox[i].y1, tileHeight);

+int width = min(pBox[i].x2 - pBox[i].x1 - tileWidth, tileWidth);
+int height = min(pBox[i].y2 - pBox[i].y1 - tileHeight, tileHeight);

Otherwise you start the 2nd copy (first one in the while loop) with the full
tile size, and this can be bigger than the total size.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Nouveau mailing list