qemu/include/hw/display
Mark Cave-Ayland e6108b9636 macfb: implement mode sense to allow display type to be detected
The MacOS toolbox ROM uses the monitor sense to detect the display type and then
offer a fixed set of resolutions and colour depths accordingly. Implement the
monitor sense using information found in Apple Technical Note HW26: "Macintosh
Quadra Built-In Video" along with some local experiments.

Since the default configuration is 640 x 480 with 8-bit colour then hardcode
the sense register to return MACFB_DISPLAY_VGA for now.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20211007221253.29024-8-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2021-10-08 13:31:03 +02:00
..
bcm2835_fb.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
blizzard.h Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
bochs-vbe.h vga: move bochs vbe defines to header file 2018-05-24 10:42:13 +02:00
dpcd.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
edid.h edid: Make refresh rate configurable 2021-05-10 11:41:02 +02:00
i2c-ddc.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
macfb.h macfb: implement mode sense to allow display type to be detected 2021-10-08 13:31:03 +02:00
ramfb.h Revert "hw/display/ramfb: initialize fw-config space with xres/ yres" 2020-05-18 15:42:34 +02:00
tc6393xb.h Include exec/memory.h slightly less 2019-08-16 13:31:52 +02:00
vga.h modules: add have_vga 2021-05-10 13:55:28 +02:00
xlnx_dp.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00