qemu-e2k/hw/display
Mark Cave-Ayland e20d0b84a8 macfb: set initial value of mode control registers in macfb_common_realize()
If booting Linux directly in the q800 machine using -kernel rather than using a
MacOS toolbox ROM, the mode control registers are never initialised,
causing macfb_mode_write() to fail to determine the current resolution after
migration. Resolve this by always setting the initial values of the mode control
registers based upon the initial macfb properties during realize.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220305155530.9265-6-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
2022-03-09 09:29:10 +00:00
..
artist.c hw/display/artist: Fix draw_line() artefacts 2022-02-02 18:46:45 +01:00
ati_2d.c
ati_dbg.c
ati_int.h
ati_regs.h
ati.c
bcm2835_fb.c Mark remaining global TypeInfo instances as const 2022-02-21 13:30:20 +00:00
blizzard.c
bochs-display.c
cg3.c
cirrus_vga_internal.h
cirrus_vga_isa.c
cirrus_vga_rop2.h
cirrus_vga_rop.h
cirrus_vga.c
dpcd.c
edid-generate.c edid: Fix clock of Detailed Timing Descriptor 2022-03-04 11:31:46 +01:00
edid-region.c
exynos4210_fimd.c
framebuffer.c
framebuffer.h
g364fb.c
i2c-ddc.c Mark remaining global TypeInfo instances as const 2022-02-21 13:30:20 +00:00
jazz_led.c
Kconfig
macfb.c macfb: set initial value of mode control registers in macfb_common_realize() 2022-03-09 09:29:10 +00:00
meson.build
next-fb.c
omap_dss.c exec/exec-all: Move 'qemu/log.h' include in units requiring it 2022-02-21 10:18:06 +01:00
omap_lcdc.c
pl110_template.h
pl110.c
pxa2xx_lcd.c
qxl-logger.c
qxl-render.c
qxl.c
qxl.h
ramfb-standalone.c
ramfb.c
sii9022.c
sm501.c
ssd0303.c
ssd0323.c
tc6393xb.c
tcx.c
trace-events hw/display/vmware_vga: replace fprintf calls with trace events 2022-03-04 11:38:07 +01:00
trace.h
vga_int.h
vga_regs.h
vga-access.h
vga-helpers.h
vga-isa.c
vga-mmio.c
vga-pci.c
vga.c
vhost-user-gpu-pci.c
vhost-user-gpu.c
vhost-user-vga.c
virtio-gpu-base.c
virtio-gpu-gl.c
virtio-gpu-pci-gl.c
virtio-gpu-pci.c
virtio-gpu-udmabuf-stubs.c
virtio-gpu-udmabuf.c
virtio-gpu-virgl.c
virtio-gpu.c
virtio-vga-gl.c
virtio-vga.c Mark remaining global TypeInfo instances as const 2022-02-21 13:30:20 +00:00
virtio-vga.h
vmware_vga.c hw/display/vmware_vga: replace fprintf calls with trace events 2022-03-04 11:38:07 +01:00
xenfb.c
xlnx_dp.c