From b95b56311a0890da0c9f7fc624529c3d7f8dbce0 Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Sat, 26 Feb 2022 20:55:16 +0900 Subject: virtio-gpu: Respect UI refresh rate for EDID Signed-off-by: Akihiko Odaki Message-Id: <20220226115516.59830-4-akihiko.odaki@gmail.com> Signed-off-by: Gerd Hoffmann --- hw/display/virtio-gpu-base.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/display/virtio-gpu-base.c') diff --git a/hw/display/virtio-gpu-base.c b/hw/display/virtio-gpu-base.c index b21d6e5b0b..a29f191aa8 100644 --- a/hw/display/virtio-gpu-base.c +++ b/hw/display/virtio-gpu-base.c @@ -79,6 +79,7 @@ static void virtio_gpu_ui_info(void *opaque, uint32_t idx, QemuUIInfo *info) g->req_state[idx].x = info->xoff; g->req_state[idx].y = info->yoff; + g->req_state[idx].refresh_rate = info->refresh_rate; g->req_state[idx].width = info->width; g->req_state[idx].height = info->height; g->req_state[idx].width_mm = info->width_mm; -- cgit 1.4.1