[PATCH v6 0/8] ati-vga fixes

BALATON Zoltan posted 8 patches 20 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/cover.1774110169.git.balaton@eik.bme.hu
Maintainers: Huacai Chen <chenhuacai@kernel.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Jiaxun Yang <jiaxun.yang@flygoat.com>
hw/display/ati.c     | 85 +++++++++++++++++++++++++-------------------
hw/display/ati_2d.c  | 47 ++++++++++++++++--------
hw/display/ati_int.h |  1 +
hw/mips/fuloong2e.c  |  1 +
4 files changed, 82 insertions(+), 52 deletions(-)
[PATCH v6 0/8] ati-vga fixes
Posted by BALATON Zoltan 20 hours ago
OK I think these are all the fixes I'd like to add for 11.0 unless
some more bugs are found. Could you please check and merge?

v6:
- revert part of mouse pointer fix patch from v5 as it broke MacOS;
since I'm not sure the Linux image has no issues on real machine I'm
not trying to fix that now

v5:
- fix typo on Patch 6
- add more patches to fix mouse pointer with big endian frame buffer

v4:
- compile fix in patch 5
- new patch 6 to work around fuloong2e issue:
https://lists.nongnu.org/archive/html/qemu-devel/2026-01/msg06308.html
v3:
- fix patch 1 to work with 8 and 16 bit modes too
- new patch 5 to fix display updates with 8 and 16 bit modes
v2:
- fix patch 4 to really avoid warnings

These are some fixes to ati-vga for 11.0.

Patch 1 fixes problem reported in
https://lists.nongnu.org/archive/html/qemu-ppc/2026-01/msg00105.html

Patch 2 fixes output from Solaris install iso
Rendering still not always correct as it uses some unimplemented
features but it's now readable. I did not test full install though.

Patch 3 fixes vram overrun errors seen with Solaris and MorphOS when
crtc offset is non-zero (this happens on MorphOS when additional
screen is opened)

Patch 4 tries to avoid Coverity warning matching what other places
already do

Patch 5 fixes dirty region tracking when guest display depth is not
the same as the host's

Patch 6 adds work around for fuloong2e to keep working with partial
machine model

BALATON Zoltan (8):
  ati-vga: Fix colors when frame buffer endianness does not match host
  ati-vga: Also switch mode on HW cursor enable bit change
  ati-vga: Do not add crtc offset to src and dst data address
  ati-vga: Avoid warnings about sign extension
  ati-vga: Fix display updates in non-32 bit modes
  ati-vga: Add work around for fuloong2e
  ati-vga: Simplify pointer image handling
  ati-vga: Make sure hardware cursor data is within vram

 hw/display/ati.c     | 85 +++++++++++++++++++++++++-------------------
 hw/display/ati_2d.c  | 47 ++++++++++++++++--------
 hw/display/ati_int.h |  1 +
 hw/mips/fuloong2e.c  |  1 +
 4 files changed, 82 insertions(+), 52 deletions(-)

-- 
2.41.3