virtio-gpu: Respect UI refresh rate for EDID
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest3 patches 5 repliesIn review
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ui/console: Do not return a value with ui_infohw/ hw/ hw/ +1 more | +9 | 0 replies | |
| 2/3 | ui: Deliver refresh rate via QemuUIInfohw/ include/ include/ +4 more | +42 | 5 replies | |
| 3/3 | virtio-gpu: Respect UI refresh rate for EDIDhw/ hw/ include/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
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)