diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-02-21 09:10:54 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-02-22 07:25:04 +0100 |
commit | 1ed2cb32dc9e8f74c82bdc567edad717b0f34fa5 (patch) | |
tree | cc5be4a9e079319b459df46490c78904363e85f3 /hw/display/virtio-gpu-3d.c | |
parent | 9a6d74c0de17760abea91ebeefbcd531e963712d (diff) | |
download | qemu-1ed2cb32dc9e8f74c82bdc567edad717b0f34fa5.zip qemu-1ed2cb32dc9e8f74c82bdc567edad717b0f34fa5.tar.gz qemu-1ed2cb32dc9e8f74c82bdc567edad717b0f34fa5.tar.bz2 |
display/virtio: add edid support.
This patch adds EDID support to the family of virtio-gpu devices. It is
turned off by default, use the new edid property to enable it.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20190221081054.13853-1-kraxel@redhat.com
Diffstat (limited to 'hw/display/virtio-gpu-3d.c')
-rw-r--r-- | hw/display/virtio-gpu-3d.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/display/virtio-gpu-3d.c b/hw/display/virtio-gpu-3d.c index cb83479..2d30252 100644 --- a/hw/display/virtio-gpu-3d.c +++ b/hw/display/virtio-gpu-3d.c @@ -463,6 +463,9 @@ void virtio_gpu_virgl_process_cmd(VirtIOGPU *g, case VIRTIO_GPU_CMD_GET_DISPLAY_INFO: virtio_gpu_get_display_info(g, cmd); break; + case VIRTIO_GPU_CMD_GET_EDID: + virtio_gpu_get_edid(g, cmd); + break; default: cmd->error = VIRTIO_GPU_RESP_ERR_UNSPEC; break; |