Message ID | 20240318113140.88151-3-philmd@linaro.org |
---|---|
State | New |
Headers | show |
Series | ui/display: Introduce API to change console orientation | expand |
On 2024/03/18 20:31, Philippe Mathieu-Daudé wrote: > Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com> > --- > hw/display/pxa2xx_lcd.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/hw/display/pxa2xx_lcd.c b/hw/display/pxa2xx_lcd.c > index a9d0d981a0..7d03fa57d0 100644 > --- a/hw/display/pxa2xx_lcd.c > +++ b/hw/display/pxa2xx_lcd.c > @@ -1439,6 +1439,7 @@ PXA2xxLCDState *pxa2xx_lcdc_init(MemoryRegion *sysmem, > memory_region_add_subregion(sysmem, base, &s->iomem); > > s->con = graphic_console_init(NULL, 0, &pxa2xx_ops, s); > + qemu_console_set_rotate(s->con, graphic_rotate); > > vmstate_register(NULL, 0, &vmstate_pxa2xx_lcdc, s); >
diff --git a/hw/display/pxa2xx_lcd.c b/hw/display/pxa2xx_lcd.c index a9d0d981a0..7d03fa57d0 100644 --- a/hw/display/pxa2xx_lcd.c +++ b/hw/display/pxa2xx_lcd.c @@ -1439,6 +1439,7 @@ PXA2xxLCDState *pxa2xx_lcdc_init(MemoryRegion *sysmem, memory_region_add_subregion(sysmem, base, &s->iomem); s->con = graphic_console_init(NULL, 0, &pxa2xx_ops, s); + qemu_console_set_rotate(s->con, graphic_rotate); vmstate_register(NULL, 0, &vmstate_pxa2xx_lcdc, s);
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- hw/display/pxa2xx_lcd.c | 1 + 1 file changed, 1 insertion(+)