[PATCH v2 0/4] vhost-user-gpu get_edid feature

Erico Nunes posted 4 patches 10 months, 4 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230531160631.612893-1-ernunes@redhat.com
Maintainers: "Marc-André Lureau" <marcandre.lureau@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>
There is a newer version of this series
contrib/vhost-user-gpu/vhost-user-gpu.c | 67 +++++++++++++++++++++++--
contrib/vhost-user-gpu/virgl.c          |  3 ++
contrib/vhost-user-gpu/vugpu.h          | 11 ++++
docs/interop/vhost-user-gpu.rst         | 18 +++++--
hw/display/vhost-user-gpu.c             | 36 +++++++++++++
hw/display/virtio-gpu-base.c            | 17 +++++++
hw/display/virtio-gpu.c                 | 20 +-------
include/hw/virtio/virtio-gpu.h          |  2 +
8 files changed, 148 insertions(+), 26 deletions(-)
[PATCH v2 0/4] vhost-user-gpu get_edid feature
Posted by Erico Nunes 10 months, 4 weeks ago
This adds support to the virtio-gpu get_edid command in qemu as the
frontend as well as the vhost-user-gpu implementation in contrib/.
So far, qemu has been outputting the following message:
  EDID requested but the backend doesn't support it.
when using that implementation.

This is tested with vhost-user-gpu, the dbus ui backend and the
monitor-edid application, which now shows complete "QEMU Monitor" edid
data.

The VHOST_USER_GPU_PROTOCOL_F_EDID protocol feature is required if the
frontend sets the VIRTIO_GPU_F_EDID virtio-gpu feature. If the frontend
sets the virtio-gpu feature but does not support the protocol feature,
the backend will abort with an error.

Erico Nunes (4):
  virtio-gpu: refactor generate_edid function to virtio_gpu_base
  docs: vhost-user-gpu: add protocol changes for EDID
  contrib/vhost-user-gpu: implement get_edid feature
  vhost-user-gpu: implement get_edid frontend feature

 contrib/vhost-user-gpu/vhost-user-gpu.c | 67 +++++++++++++++++++++++--
 contrib/vhost-user-gpu/virgl.c          |  3 ++
 contrib/vhost-user-gpu/vugpu.h          | 11 ++++
 docs/interop/vhost-user-gpu.rst         | 18 +++++--
 hw/display/vhost-user-gpu.c             | 36 +++++++++++++
 hw/display/virtio-gpu-base.c            | 17 +++++++
 hw/display/virtio-gpu.c                 | 20 +-------
 include/hw/virtio/virtio-gpu.h          |  2 +
 8 files changed, 148 insertions(+), 26 deletions(-)

-- 
2.40.1