From: Brian Kress <kressb@moose.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] Missing cirrus_invalidate_region() in cirrus_do_copy()
Date: Mon, 16 Feb 2009 17:09:14 -0500 [thread overview]
Message-ID: <4999E40A.9070304@moose.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 399 bytes --]
After doing a video to video copy, cirrus_do_copy() in cirrus_vga.c does
a conditional
call to cirrus_invalidate_region() with an "if (!notify)" test. However
at this point the blt
has already been done so it seems like this call should be made
unconditionally. The patch
below fixes some display update problems when dragging windows under
both X (fedora
10 guest) and a Windows XP guest.
[-- Attachment #2: patch.cirrus_vga_invalidate --]
[-- Type: text/plain, Size: 708 bytes --]
Signed-off-by: Brian Kress <kressb@moose.net>
Index: hw/cirrus_vga.c
===================================================================
--- hw/cirrus_vga.c (revision 6626)
+++ hw/cirrus_vga.c (working copy)
@@ -781,10 +781,9 @@
/* we don't have to notify the display that this portion has
changed since qemu_console_copy implies this */
- if (!notify)
- cirrus_invalidate_region(s, s->cirrus_blt_dstaddr,
- s->cirrus_blt_dstpitch, s->cirrus_blt_width,
- s->cirrus_blt_height);
+ cirrus_invalidate_region(s, s->cirrus_blt_dstaddr,
+ s->cirrus_blt_dstpitch, s->cirrus_blt_width,
+ s->cirrus_blt_height);
}
static int cirrus_bitblt_videotovideo_copy(CirrusVGAState * s)
next reply other threads:[~2009-02-16 22:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-16 22:09 Brian Kress [this message]
2009-02-17 8:39 ` [Qemu-devel] [PATCH] Missing cirrus_invalidate_region() in cirrus_do_copy() Alexander Graf
2009-02-17 12:48 ` Brian Kress
2009-02-27 19:54 ` Anthony Liguori
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=4999E40A.9070304@moose.net \
--to=kressb@moose.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.