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>
This commit is contained in:
Marc-André Lureau 2020-09-27 18:57:51 +04:00 committed by Gerd Hoffmann
parent 9028ab1f5b
commit 4bf47f3634
3 changed files with 5 additions and 0 deletions

View file

@ -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;
};