]> git.proxmox.com Git - mirror_qemu.git/commit
display/stdvga: add edid support.
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 25 Sep 2018 07:56:46 +0000 (09:56 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 27 Sep 2018 06:07:51 +0000 (08:07 +0200)
commitd46b40fce2e3f5187bb9a67d348e8bfd4f73ad3b
tree8fe4c27cf074bd1d0f26e5409bc6ae9022c5d975
parent06510b899fbb43a709ddb5ba04610efa7fbef13b
display/stdvga: add edid support.

This patch adds edid support to the qemu stdvga.  It is turned off by
default and can be enabled with the new edid property.  The patch also
adds xres and yres properties to specify the video mode you want the
guest use.  Works only with edid enabled and updated guest driver.

The mmio bar of the stdvga has some unused address space at the start.
It was reserved just in case it'll be needed for virtio, but it turned
out to not be needed for that.  So let's use that region to place the
EDID data block there.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20180925075646.25114-6-kraxel@redhat.com
docs/specs/standard-vga.txt
hw/display/vga-pci.c
hw/display/vga_int.h
hw/display/virtio-vga.c