[PATCH 0/4] WIP: add physical display dimensions to spice/virtio-gpu

marcandre.lureau@redhat.com posted 4 patches 3 years, 8 months ago
Test docker-quick@centos7 passed
Test docker-mingw@fedora passed
Test checkpatch passed
Test FreeBSD passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200817120056.56751-1-marcandre.lureau@redhat.com
hw/display/edid-generate.c     | 21 ++++++++-----
hw/display/virtio-gpu-base.c   |  2 ++
hw/display/virtio-gpu.c        |  2 ++
include/hw/display/edid.h      |  2 ++
include/hw/virtio/virtio-gpu.h |  1 +
include/ui/console.h           |  4 +++
ui/console.c                   |  7 +++++
ui/spice-display.c             | 54 +++++++++++++++++++++++++++++++++-
8 files changed, 84 insertions(+), 9 deletions(-)
[PATCH 0/4] WIP: add physical display dimensions to spice/virtio-gpu
Posted by marcandre.lureau@redhat.com 3 years, 8 months ago
From: Marc-André Lureau <marcandre.lureau@redhat.com>

Hi,

In order to improve support for HiDPI, I proposed some new Spice messages to
inform the guest of the display physical dimensions.

See spice-protocol proposal and related server & spice-gtk changes:
https://gitlab.freedesktop.org/spice/spice-protocol/-/merge_requests/24
https://gitlab.freedesktop.org/spice/spice/-/merge_requests/139
https://gitlab.freedesktop.org/spice/spice-gtk/-/merge_requests/64

Marc-André Lureau (4):
  edid: use physical dimensions if available
  ui: add getter for UIInfo
  spice: get monitors physical dimension
  virtio-gpu: set physical dimensions for EDID

 hw/display/edid-generate.c     | 21 ++++++++-----
 hw/display/virtio-gpu-base.c   |  2 ++
 hw/display/virtio-gpu.c        |  2 ++
 include/hw/display/edid.h      |  2 ++
 include/hw/virtio/virtio-gpu.h |  1 +
 include/ui/console.h           |  4 +++
 ui/console.c                   |  7 +++++
 ui/spice-display.c             | 54 +++++++++++++++++++++++++++++++++-
 8 files changed, 84 insertions(+), 9 deletions(-)

-- 
2.26.2