Received: from [140.186.70.92] (port=38418 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pfsyl-0002gd-08 for qemu-devel@nongnu.org; Thu, 20 Jan 2011 06:47:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pfsyi-0001Eu-DH for qemu-devel@nongnu.org; Thu, 20 Jan 2011 06:47:02 -0500 Received: from hall.aurel32.net ([88.191.126.93]:43055) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pfsyi-0001Em-7I for qemu-devel@nongnu.org; Thu, 20 Jan 2011 06:47:00 -0500 Date: Thu, 20 Jan 2011 12:46:59 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH] pxa2xx_lcd: restore updating of display Message-ID: <20110120114659.GE27195@hall.aurel32.net> References: <1295367093-6011-1-git-send-email-dbaryshkov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1295367093-6011-1-git-send-email-dbaryshkov@gmail.com> Sender: Aurelien Jarno List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dmitry Eremin-Solenikov Cc: qemu-devel@nongnu.org On Tue, Jan 18, 2011 at 07:11:33PM +0300, Dmitry Eremin-Solenikov wrote: > Recently PXA2xx lcd have stopped to be updated incrementally (picture > frozen). This patch fixes that by passing non min/max x/y, but rather > (correctly) x/y and w/h. > > Signed-off-by: Dmitry Eremin-Solenikov > --- > hw/pxa2xx_lcd.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/hw/pxa2xx_lcd.c b/hw/pxa2xx_lcd.c > index 1f2211a..5b2b07e 100644 > --- a/hw/pxa2xx_lcd.c > +++ b/hw/pxa2xx_lcd.c > @@ -796,9 +796,9 @@ static void pxa2xx_update_display(void *opaque) > > if (miny >= 0) { > if (s->orientation) > - dpy_update(s->ds, miny, 0, maxy, s->xres); > + dpy_update(s->ds, miny, 0, maxy - miny, s->xres); > else > - dpy_update(s->ds, 0, miny, s->xres, maxy); > + dpy_update(s->ds, 0, miny, s->xres, maxy - miny); > } > pxa2xx_lcdc_int_update(s); > > -- > 1.7.2.3 > Thanks, applied. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net