aboutsummaryrefslogtreecommitdiff
path: root/hw/display/vga-helpers.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-09-25 09:56:42 +0200
committerGerd Hoffmann <kraxel@redhat.com>2018-09-27 08:07:51 +0200
commit72d277a70e8b2d4eb1b3667ab934fb1fecf41410 (patch)
tree14f8fa96ede6c8b499a645d88c45c0c5d8f83b06 /hw/display/vga-helpers.h
parentc5e4e49258e9b89cb34c085a419dd9f862935c48 (diff)
display/edid: add edid generator to qemu.
EDID is a metadata format to describe monitors. On physical hardware the monitor has an eeprom with that data block which can be read over i2c bus. On a linux system you can usually find the EDID data block in /sys/class/drm/$card/$connector/edid. xorg ships a edid-decode utility which you can use to turn the blob into readable form. I think it would be a good idea to use EDID for virtual displays too. Needs changes in both qemu and guest kms drivers. This patch is the first step, it adds an generator for EDID blobs to qemu. Comes with a qemu-edid test tool included. With EDID we can pass more information to the guest. Names and serial numbers, so the guests display configuration has no boring "Unknown Monitor". List of video modes. Display resolution, pretty important in case we want add HiDPI support some day. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20180925075646.25114-2-kraxel@redhat.com
Diffstat (limited to 'hw/display/vga-helpers.h')
0 files changed, 0 insertions, 0 deletions