aboutsummaryrefslogtreecommitdiff
path: root/hw/display/ati_regs.h
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2019-06-20 12:55:23 +0200
committerGerd Hoffmann <kraxel@redhat.com>2019-06-28 10:49:36 +0200
commitc82c7336de58876862e6b4dccbda29e9240fd388 (patch)
tree2dddc67003af244d03210fea44ef87edf9bdebfc /hw/display/ati_regs.h
parentd718b7475b188dd47c10b24f8d2c46326b37094a (diff)
downloadqemu-c82c7336de58876862e6b4dccbda29e9240fd388.zip
qemu-c82c7336de58876862e6b4dccbda29e9240fd388.tar.gz
qemu-c82c7336de58876862e6b4dccbda29e9240fd388.tar.bz2
ati-vga: Implement DDC and EDID info from monitor
This adds DDC support to ati-vga and connects i2c-ddc to it. This allows at least MacOS with an ATI ndrv, Linux radeonfb and MorphOS to get monitor EDID info (although MorphOS splash screen is not displayed and radeonfb needs additional tables from vgabios-rv100). Xorg needs additional support from VESA vgabios, it's missing INT10 0x4F15 function (see https://gitlab.freedesktop.org/xorg/xserver/blob/master/hw/xfree86/vbe/vbe.c) without which no DDC is available that also prevents loading the accelerated X driver. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Message-id: 046ddebb7ec8db48c4e877ee444ec1c41e385a74.1561028123.git.balaton@eik.bme.hu ati-vga: Clarify comment Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Message-id: 20190620195213.C54127461AE@zero.eik.bme.hu ati-vga: Add DDC reg names for debug Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Message-id: 20190621181459.2F8207462AA@zero.eik.bme.hu Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/display/ati_regs.h')
-rw-r--r--hw/display/ati_regs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/display/ati_regs.h b/hw/display/ati_regs.h
index 923bfd3..1ec3498 100644
--- a/hw/display/ati_regs.h
+++ b/hw/display/ati_regs.h
@@ -37,6 +37,8 @@
#define CRTC_GEN_CNTL 0x0050
#define CRTC_EXT_CNTL 0x0054
#define DAC_CNTL 0x0058
+#define GPIO_VGA_DDC 0x0060
+#define GPIO_DVI_DDC 0x0064
#define GPIO_MONID 0x0068
#define I2C_CNTL_1 0x0094
#define PALETTE_INDEX 0x00b0