edid: add support for DisplayID extension (5k resolution)
commit35f171a2eb25fcdf1b719c58a61a7da15b4fe078
authorKonstantin Nazarov <mail@knazarov.com>
Tue, 27 Apr 2021 15:08:24 +0000 (27 17:08 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 10 May 2021 09:41:02 +0000 (10 11:41 +0200)
treed2162162a8ffe82dd4ebaef82ed545ccb2e3bb34
parent5a4e88cf3b64c4a5c92e43a90260c34a6a52d011
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>
hw/display/edid-generate.c
hw/display/vga-pci.c