diff options
author | Akihiko Odaki <akihiko.odaki@gmail.com> | 2022-02-26 20:55:16 +0900 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2022-06-14 10:34:37 +0200 |
commit | b95b56311a0890da0c9f7fc624529c3d7f8dbce0 (patch) | |
tree | 9685e05d394391bd955e0883c2c3f72f5381b9c5 /hw/display/virtio-gpu.c | |
parent | aeffd071ed818fa83c723fe8e2715144ee8385c7 (diff) |
virtio-gpu: Respect UI refresh rate for EDID
Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Message-Id: <20220226115516.59830-4-akihiko.odaki@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/display/virtio-gpu.c')
-rw-r--r-- | hw/display/virtio-gpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/display/virtio-gpu.c b/hw/display/virtio-gpu.c index 55c6dd5763..20cc703dcc 100644 --- a/hw/display/virtio-gpu.c +++ b/hw/display/virtio-gpu.c @@ -217,6 +217,7 @@ virtio_gpu_generate_edid(VirtIOGPU *g, int scanout, .height_mm = b->req_state[scanout].height_mm, .prefx = b->req_state[scanout].width, .prefy = b->req_state[scanout].height, + .refresh_rate = b->req_state[scanout].refresh_rate, }; edid->size = cpu_to_le32(sizeof(edid->edid)); |