pxa2xx_lcd: restore updating of display
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 <dbaryshkov@gmail.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
f69866ea32
commit
b2bf03a90c
@ -796,9 +796,9 @@ static void pxa2xx_update_display(void *opaque)
|
|||||||
|
|
||||||
if (miny >= 0) {
|
if (miny >= 0) {
|
||||||
if (s->orientation)
|
if (s->orientation)
|
||||||
dpy_update(s->ds, miny, 0, maxy, s->xres);
|
dpy_update(s->ds, miny, 0, maxy - miny, s->xres);
|
||||||
else
|
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);
|
pxa2xx_lcdc_int_update(s);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user