From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=36447 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCau9-00025q-EA for qemu-devel@nongnu.org; Thu, 13 May 2010 12:05:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCau7-0006BR-SW for qemu-devel@nongnu.org; Thu, 13 May 2010 12:04:57 -0400 Received: from mail2.shareable.org ([80.68.89.115]:55198) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCau7-0006BF-O8 for qemu-devel@nongnu.org; Thu, 13 May 2010 12:04:55 -0400 Date: Thu, 13 May 2010 17:04:43 +0100 From: Jamie Lokier Subject: Re: [Qemu-devel] Re: Another SIGFPE in display code, now in cirrus Message-ID: <20100513160443.GA4417@shareable.org> References: <4BEAA0CC.4090906@redhat.com> <4BEABABC.6080305@redhat.com> <4BEAD232.2040700@redhat.com> <20100512170702.GE19314@shareable.org> <4BEBA0ED.9010009@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefano Stabellini Cc: Michael Tokarev , Brian Kress , Avi Kivity , KVM list , qemu-devel Stefano Stabellini wrote: > > I think we need to consider only dstpitch for a full invalidate. We > > might be copying an offscreen bitmap into the screen, and srcpitch is > > likely to be the bitmap width instead of the screen pitch. > > Agreed. Even when copying on-screen (or partially on-screen), the srcpitch does not affect the invalidated area. The source area might be strange (parallelogram, single line repeated), but srcpitch should only affect whether qemu_console_copy can be used, not the invalidation. -- Jamie