From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 16911] xserver EXA optimization causes nv31 to crash Date: Wed, 30 Jul 2008 18:57:14 -0700 (PDT) Message-ID: <20080731015714.9E9C6130058@annarchy.freedesktop.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org http://bugs.freedesktop.org/show_bug.cgi?id=16911 --- Comment #4 from Stephane Marchesin 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.