Skip to content

hw/display/sm501: Tidy up template header

Peter Maydell qemu-devel 1 version Applied

Status from this message: I've queued these to ppc-for-6.0.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3hw/display/sm501: Remove dead code for non-32-bit RGB surfaceshw/display/sm501.c+6 -850 replies
2/3hw/display/sm501: Expand out macros in template headerhw/display/sm501_template.h+17 -430 replies
3/3hw/display/sm501: Inline template header into C filehw/display/sm501.c hw/display/sm501_template.h+81 -1070 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBALATON Zoltan
SeriesA-b
1/3
2/3
3/3

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

Read the v1 thread

Cover letter [PATCH 0/3] hw/display/sm501: Tidy up template header

For a long time now the UI layer has guaranteed that the console surface is always 32 bits per pixel RGB, but some older display device models still have the code to handle other formats. This patchset cleans up that dead code for the sm501 device, which allows us to remove the multiply-included sm501_template.h header entirely.

There have been a few attempts at doing this cleanup on this device in the past by various people; rather than trying to resurrect those old patchsets and get them to apply to the current code in master, I just started from scratch.

Tested with AROS ISO image on sam460ex.

thanks
-- PMM

Peter Maydell (3):
hw/display/sm501: Remove dead code for non-32-bit RGB surfaces hw/display/sm501: Expand out macros in template header hw/display/sm501: Inline template header into C file

 hw/display/sm501_template.h | 131 ----------------------------
 hw/display/sm501.c          | 166 ++++++++++++++++++------------------
 2 files changed, 83 insertions(+), 214 deletions(-)
 delete mode 100644 hw/display/sm501_template.h
Signature · 1 line
2.20.1