Skip to content

hw/display/pl110, pxa2xx_lcd: Tidy up template headers

Peter Maydell qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9hw/display/pl110: Remove dead code for non-32-bpp surfaceshw/display/pl110.c+8 -450 replies
2/9hw/display/pl110: Pull included-once parts of template header into pl110.chw/display/pl110.c hw/display/pl110_template.h+80 -990 replies
3/9hw/display/pl110: Remove use of BITS from pl110_template.hhw/display/pl110.c hw/display/pl110_template.h+65 -680 replies
4/9hw/display/pxa2xx_lcd: Remove dead code for non-32-bpp surfaceshw/display/pxa2xx_lcd.c+17 -620 replies
5/9hw/display/pxa2xx_lcd: Remove dest_width state fieldhw/display/pxa2xx_lcd.c+11 -90 replies
6/9hw/display/pxa2xx: Remove use of BITS in pxa2xx_template.hhw/display/pxa2xx_template.h+45 -650 replies
7/9hw/display/pxa2xx: Apply brace-related coding style fixes to template headerhw/display/pxa2xx_template.h+28 -190 replies
8/9hw/display/pxa2xx: Apply whitespace-only coding style fixes to template headerhw/display/pxa2xx_template.h+32 -340 replies
9/9hw/display/pxa2xx: Inline template headerhw/display/pxa2xx_lcd.c hw/display/pxa2xx_template.h+425 -4360 replies

Reviews trailers per patch

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

PatchGerd Hoffmann
SeriesA-b
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9

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/9] hw/display/pl110, pxa2xx_lcd: Tidy up template headers

For a long time now the UI layer has guaranteed that the console surface is always 32 bits per pixel, but some older display device models still have the code to handle other depths. This patchset cleans up that dead code for the pl110 and pxa2xx_lcd devices. For the pxa2xx_lcd we can remove the template header entirely; the pl110 still uses it to handle the wide variety of guest pixel formats that it has to support, but we can at least simplify it from a doubly-nested set of inclusions to a single layer.

thanks
-- PMM

Peter Maydell (9):
hw/display/pl110: Remove dead code for non-32-bpp surfaces hw/display/pl110: Pull included-once parts of template header into

    pl110.c

hw/display/pl110: Remove use of BITS from pl110_template.h hw/display/pxa2xx_lcd: Remove dead code for non-32-bpp surfaces hw/display/pxa2xx_lcd: Remove dest_width state field hw/display/pxa2xx: Remove use of BITS in pxa2xx_template.h hw/display/pxa2xx: Apply brace-related coding style fixes to template
header
hw/display/pxa2xx: Apply whitespace-only coding style fixes to
template header
hw/display/pxa2xx: Inline template header

 hw/display/pl110_template.h  | 120 +-------
 hw/display/pxa2xx_template.h | 447 ------------------------------
 hw/display/pl110.c           | 123 ++++++---
 hw/display/pxa2xx_lcd.c      | 520 ++++++++++++++++++++++++++++++-----
 4 files changed, 542 insertions(+), 668 deletions(-)
 delete mode 100644 hw/display/pxa2xx_template.h
Signature · 1 line
2.20.1