qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH-for-9.1 v2 0/3] ui/display: Introduce API to change console orientation
@ 2024-03-18 11:31 Philippe Mathieu-Daudé
  2024-03-18 11:31 ` [PATCH-for-9.1 v2 1/3] ui/console: " Philippe Mathieu-Daudé
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Philippe Mathieu-Daudé @ 2024-03-18 11:31 UTC (permalink / raw)
  To: qemu-devel
  Cc: Paolo Bonzini, Akihiko Odaki, qemu-arm, Marc-André Lureau,
	Gerd Hoffmann, Peter Maydell, Philippe Mathieu-Daudé

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(-)

-- 
2.41.0



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-03-19  2:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-18 11:31 [PATCH-for-9.1 v2 0/3] ui/display: Introduce API to change console orientation Philippe Mathieu-Daudé
2024-03-18 11:31 ` [PATCH-for-9.1 v2 1/3] ui/console: " Philippe Mathieu-Daudé
2024-03-19  2:54   ` Akihiko Odaki
2024-03-18 11:31 ` [PATCH-for-9.1 v2 2/3] hw/display/pxa2xx_lcd: Set rotation angle using qemu_console_set_rotate Philippe Mathieu-Daudé
2024-03-19  2:54   ` Akihiko Odaki
2024-03-18 11:31 ` [PATCH-for-9.1 v2 3/3] ui/console: Add 'rotate_arcdegree' field to allow per-console rotation Philippe Mathieu-Daudé
2024-03-19  2:54   ` Akihiko Odaki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).