[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/4] WIP: add physical display dimensions to spice/virtio-gpu
From: |
marcandre . lureau |
Subject: |
[PATCH 0/4] WIP: add physical display dimensions to spice/virtio-gpu |
Date: |
Mon, 17 Aug 2020 16:00:52 +0400 |
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