Skip to content

virtio-gpu: Respect UI refresh rate for EDID

Akihiko Odaki qemu-devel xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest3 patches 5 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ui/console: Do not return a value with ui_infohw/display/virtio-gpu-base.c hw/display/virtio-vga.c hw/vfio/display.c +1 more+9 -120 replies
2/3ui: Deliver refresh rate via QemuUIInfohw/display/xenfb.c include/ui/console.h include/ui/gtk.h +4 more+42 -345 replies
3/3virtio-gpu: Respect UI refresh rate for EDIDhw/display/virtio-gpu-base.c hw/display/virtio-gpu.c include/hw/virtio/virtio-gpu.h+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] virtio-gpu: Respect UI refresh rate for EDID

Let virtio-gpu be aware of the refresh rate. The EDID change is delivered with display hotplugging, which should not happen too frequently. Because of that, this moves the refresh rate to QemuUIInfo, whose change delivery is throttled.

The delivery throttling also affects xenfb and this change does not maintain a seperate code path to avoid the throttling because the difference is little if it xists. Usually the refresh rate of display does not change frequently and most guests are not prepared for that anyway.

v3: Rebased to the latest QEMU.

Akihiko Odaki (3):
ui/console: Do not return a value with ui_info
ui: Deliver refresh rate via QemuUIInfo
virtio-gpu: Respect UI refresh rate for EDID

 hw/display/virtio-gpu-base.c   |  7 +++---
 hw/display/virtio-gpu.c        |  1 +
 hw/display/virtio-vga.c        |  5 ++--
 hw/display/xenfb.c             | 14 ++++++++---
 hw/vfio/display.c              |  8 +++---
 include/hw/virtio/virtio-gpu.h |  1 +
 include/ui/console.h           |  4 +--
 include/ui/gtk.h               |  2 +-
 ui/console.c                   |  6 -----
 ui/gtk-egl.c                   |  4 +--
 ui/gtk-gl-area.c               |  3 +--
 ui/gtk.c                       | 45 ++++++++++++++++++++--------------
 12 files changed, 54 insertions(+), 46 deletions(-)
Signature · 1 line
2.32.0 (Apple Git-132)