Skip to content

ui/display: Introduce API to change console orientation

Philippe Mathieu-Daudé qemu-arm qemu-devel 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesIn review
  2. v13 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- Move rotate_arcdegree to QemuGraphicConsole (Akihiko)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ui/console: Introduce API to change console orientationinclude/ui/console.h ui/console.c ui/input.c+23 -51 reply
2/3hw/display/pxa2xx_lcd: Set rotation angle using qemu_console_set_rotatehw/display/pxa2xx_lcd.c+1 -01 reply
3/3ui/console: Add 'rotate_arcdegree' field to allow per-console rotationui/console.c+11 -41 reply

Reviews trailers per patch

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

PatchAkihiko Odaki
1/3R-b
2/3R-b
3/3R-b

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

Read the v2 thread

Cover letter [PATCH-for-9.1 v2 0/3] ui/display: Introduce API to change console orientation

Since v1:
- Move rotate_arcdegree to QemuGraphicConsole (Akihiko)

Hi,

The idea behind this series is to reduce the use of the 'graphic_rotate' global. It is only used by the Spitz machine, so we could convert the '-rotate' argument to a sugar property on the PXA2XX_LCD_TYPE model, but since the Spitz machine has been deprecated recently (commit a2531bb855 "Deprecate various old Arm machine types") it doesn't seem worthwhile. So just extract the API to change console orientation.

Regards,

Phil.

Philippe Mathieu-Daudé (3):
ui/console: Introduce API to change console orientation hw/display/pxa2xx_lcd: Set rotation angle using
qemu_console_set_rotate
ui/console: Add 'rotate_arcdegree' field to allow per-console rotation

 include/ui/console.h    |  3 +++
 hw/display/pxa2xx_lcd.c |  1 +
 ui/console.c            | 23 +++++++++++++++++++++++
 ui/input.c              |  9 ++++-----
 4 files changed, 31 insertions(+), 5 deletions(-)
Signature · 1 line
2.41.0