* [Qemu-devel] [6019] Fix PXA2xx framebuffer dirty checking.
@ 2008-12-13 23:57 Andrzej Zaborowski
0 siblings, 0 replies; only message in thread
From: Andrzej Zaborowski @ 2008-12-13 23:57 UTC (permalink / raw)
To: qemu-devel
Revision: 6019
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6019
Author: balrog
Date: 2008-12-13 23:57:01 +0000 (Sat, 13 Dec 2008)
Log Message:
-----------
Fix PXA2xx framebuffer dirty checking.
Modified Paths:
--------------
trunk/hw/pxa2xx_lcd.c
Modified: trunk/hw/pxa2xx_lcd.c
===================================================================
--- trunk/hw/pxa2xx_lcd.c 2008-12-13 20:49:31 UTC (rev 6018)
+++ trunk/hw/pxa2xx_lcd.c 2008-12-13 23:57:01 UTC (rev 6019)
@@ -752,11 +752,11 @@
addr = (ram_addr_t) (fb - phys_ram_base);
start = addr + s->yres * src_width;
end = addr;
+ x = addr + TARGET_PAGE_SIZE;
dirty[0] = dirty[1] = cpu_physical_memory_get_dirty(start, VGA_DIRTY_FLAG);
for (y = 0; y < s->yres; y ++) {
new_addr = addr + src_width;
- for (x = addr + TARGET_PAGE_SIZE; x < new_addr;
- x += TARGET_PAGE_SIZE) {
+ for (; x < new_addr; x += TARGET_PAGE_SIZE) {
dirty[1] = cpu_physical_memory_get_dirty(x, VGA_DIRTY_FLAG);
dirty[0] |= dirty[1];
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-12-13 23:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-13 23:57 [Qemu-devel] [6019] Fix PXA2xx framebuffer dirty checking Andrzej Zaborowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).