summaryrefslogtreecommitdiffstats
path: root/include/hw/virtio
diff options
context:
space:
mode:
authorMarc-André Lureau2020-09-27 16:57:51 +0200
committerGerd Hoffmann2020-09-29 10:08:25 +0200
commit4bf47f3634af105b25c3c073ae53b36ba73733b4 (patch)
treeba9cb61c1ae19b7ea10478e0fcbe3dc21d4056e4 /include/hw/virtio
parentspice: get monitors physical dimension (diff)
downloadqemu-4bf47f3634af105b25c3c073ae53b36ba73733b4.tar.gz
qemu-4bf47f3634af105b25c3c073ae53b36ba73733b4.tar.xz
qemu-4bf47f3634af105b25c3c073ae53b36ba73733b4.zip
virtio-gpu: set physical dimensions for EDID
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-id: 20200927145751.365446-7-marcandre.lureau@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/hw/virtio')
-rw-r--r--include/hw/virtio/virtio-gpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/virtio/virtio-gpu.h b/include/hw/virtio/virtio-gpu.h
index 455e0a7433..1aed7275c8 100644
--- a/include/hw/virtio/virtio-gpu.h
+++ b/include/hw/virtio/virtio-gpu.h
@@ -62,6 +62,7 @@ struct virtio_gpu_scanout {
};
struct virtio_gpu_requested_state {
+ uint16_t width_mm, height_mm;
uint32_t width, height;
int x, y;
};