aboutsummaryrefslogtreecommitdiff
path: root/hw/display/vga-pci.c
diff options
context:
space:
mode:
authorKonstantin Nazarov <mail@knazarov.com>2021-04-27 17:08:24 +0200
committerGerd Hoffmann <kraxel@redhat.com>2021-05-10 11:41:02 +0200
commit35f171a2eb25fcdf1b719c58a61a7da15b4fe078 (patch)
treed2162162a8ffe82dd4ebaef82ed545ccb2e3bb34 /hw/display/vga-pci.c
parent5a4e88cf3b64c4a5c92e43a90260c34a6a52d011 (diff)
downloadqemu-35f171a2eb25fcdf1b719c58a61a7da15b4fe078.zip
qemu-35f171a2eb25fcdf1b719c58a61a7da15b4fe078.tar.gz
qemu-35f171a2eb25fcdf1b719c58a61a7da15b4fe078.tar.bz2
edid: add support for DisplayID extension (5k resolution)
The Detailed Timing Descriptor has only 12 bits to store the resolution. This limits the guest to 4095 pixels. This patch adds support for the DisplayID extension, that has 2 full bytes for that purpose, thus allowing 5k resolutions and above. Based-on: <20210303152948.59943-2-akihiko.odaki@gmail.com> Signed-off-by: Konstantin Nazarov <mail@knazarov.com> Message-Id: <20210315114639.91953-3-mail@knazarov.com> [ kraxel: minor workflow tweaks ] Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20210427150824.638359-1-kraxel@redhat.com Message-Id: <20210427150824.638359-9-kraxel@redhat.com>
Diffstat (limited to 'hw/display/vga-pci.c')
-rw-r--r--hw/display/vga-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/vga-pci.c b/hw/display/vga-pci.c
index 48d2963..62fb5c3 100644
--- a/hw/display/vga-pci.c
+++ b/hw/display/vga-pci.c
@@ -49,7 +49,7 @@ struct PCIVGAState {
qemu_edid_info edid_info;
MemoryRegion mmio;
MemoryRegion mrs[4];
- uint8_t edid[256];
+ uint8_t edid[384];
};
#define TYPE_PCI_VGA "pci-vga"