]> git.ipfire.org Git - thirdparty/qemu.git/commit
vga: move computation of dirty memory region later
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 2 Apr 2024 10:25:34 +0000 (12:25 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 2 Apr 2024 16:08:59 +0000 (18:08 +0200)
commit3826a372e4aafac1dba9ba3434e7c2f76775de42
tree41aef8aafcef14d41c683afae83f4acffd95fe86
parent5c00acebb6fb92ff169b322c9e74d06d8b922232
vga: move computation of dirty memory region later

Move the computation of region_start and region_end after the value of
"bits" is known.  This makes it possible to distinguish modes that
support horizontal pel panning from modes that do not.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/display/vga.c