Skip to content

ati-vga fixes

BALATON Zoltan qemu-devel 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest8 patches 12 repliesIn review
  2. v58 patches 0 repliesSuperseded
  3. v46 patches 6 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v35 patches0 repliesSuperseded
v14 patches7 repliesSuperseded

Changes in v6 from the cover letter

- 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

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8ati-vga: Fix colors when frame buffer endianness does not match hosthw/display/ati_2d.c+29 -110 replies
2/8ati-vga: Also switch mode on HW cursor enable bit changehw/display/ati.c+1 -00 replies
3/8ati-vga: Do not add crtc offset to src and dst data addresshw/display/ati_2d.c+0 -20 replies
4/8ati-vga: Avoid warnings about sign extensionhw/display/ati.c+4 -40 replies
5/8ati-vga: Fix display updates in non-32 bit modeshw/display/ati_2d.c+3 -20 replies
6/8ati-vga: Add work around for fuloong2ehw/display/ati.c hw/display/ati_int.h hw/mips/fuloong2e.c+15 -40 replies
7/8ati-vga: Simplify pointer image handlinghw/display/ati.c+24 -297 replies
8/8ati-vga: Make sure hardware cursor data is within vramhw/display/ati.c+6 -01 reply

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchChad JablonskiPeter Maydell
1/8T-b R-b
2/8T-b R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/8] ati-vga fixes

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(-)
Signature · 1 line
2.41.3