From: Andrzej Zaborowski <balrogg@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [6019] Fix PXA2xx framebuffer dirty checking.
Date: Sat, 13 Dec 2008 23:57:01 +0000 [thread overview]
Message-ID: <E1LBeM1-0002Sf-SQ@cvs.savannah.gnu.org> (raw)
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];
}
reply other threads:[~2008-12-13 23:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1LBeM1-0002Sf-SQ@cvs.savannah.gnu.org \
--to=balrogg@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).