qemu-patch-raspberry4/hw/display
David Gibson 3c2784fc86 vga: Expose framebuffer byteorder as a QOM property
The VGA device model now supports having the framebuffer in either endian,
and can be switched between these by the guest via a register in the qext
region.

However, in some cases (e.g. LE OS on the pseries machine) we have
existing guest that don't know about the endian switch register, but other
parts of the qemu code have better information to set a default endianness
than the VGA code does of itself.

In order to allow them to set a correct default endianness in these cases,
without breaking abstraction walls, this patch exposes the VGA framebuffer
endianness via a writable QOM property.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
[agraf: use instance_init for property exposure]
Signed-off-by: Alexander Graf <agraf@suse.de>
2015-03-09 15:00:02 +01:00
..
ads7846.c
blizzard.c blizzard: do not depend on VGA internals 2015-01-15 10:44:13 +03:00
blizzard_template.h
cg3.c memory: add parameter errp to memory_region_init_ram 2014-09-09 13:41:43 +02:00
cirrus_vga.c cirrus-vga: Convert to realize 2015-02-26 12:42:17 +01:00
cirrus_vga_rop.h cirrus: Fix host CPU blits 2014-07-11 10:17:02 +02:00
cirrus_vga_rop2.h
exynos4210_fimd.c
framebuffer.c
framebuffer.h
g364fb.c
jazz_led.c
Makefile.objs
milkymist-tmu2.c
milkymist-vgafb.c
milkymist-vgafb_template.h
omap_dss.c
omap_lcd_template.h hw: use ld_p/st_p instead of ld_raw/st_raw 2014-06-05 16:04:17 +02:00
omap_lcdc.c
pl110.c
pl110_template.h
pxa2xx_lcd.c hw/display/pxa2xx_lcd.c: Remove unused function pxa2xx_dma_rdst_set 2014-09-29 18:48:47 +01:00
pxa2xx_template.h
qxl-logger.c
qxl-render.c spice: use bottom half instead of refresh timer for cursor updates 2014-12-16 14:15:29 +01:00
qxl.c pci, pc, virtio fixes and cleanups 2015-03-09 09:14:28 +00:00
qxl.h
sm501.c memory: add parameter errp to memory_region_init_ram 2014-09-09 13:41:43 +02:00
sm501_template.h hw: use ld_p/st_p instead of ld_raw/st_raw 2014-06-05 16:04:17 +02:00
ssd0303.c
ssd0323.c
tc6393xb.c hw: Convert from BlockDriverState to BlockBackend, mostly 2014-10-20 14:02:25 +02:00
tc6393xb_template.h
tcx.c tcx: Implement hardware acceleration 2014-09-23 22:23:14 +01:00
vga-helpers.h vga: Rename vga_template.h to vga-helpers.h 2014-09-30 13:34:09 +02:00
vga-isa-mm.c
vga-isa.c isa: remove isa_mem_base variable 2015-02-13 14:09:28 +00:00
vga-pci.c vga: Expose framebuffer byteorder as a QOM property 2015-03-09 15:00:02 +01:00
vga.c vga: refactor vram_size clamping and rounding 2015-03-03 08:33:08 +01:00
vga.h
vga_int.h move hw cursor pos from cirrus to vga 2014-12-16 15:14:42 +01:00
vmware_vga.c pci: Trivial device model conversions to realize 2015-02-26 12:42:16 +01:00
xenfb.c Add tracing to xenfb. 2015-02-10 09:27:19 +03:00