qemu-e2k/contrib
Erico Nunes c06444261e contrib/vhost-user-gpu: implement get_edid feature
Implement the virtio-gpu feature in contrib/vhost-user-gpu, which was
unsupported until now.
In this implementation, the feature is enabled inconditionally to avoid
creating another optional config argument.
Similarly to get_display_info, vhost-user-gpu sends a message back to
the frontend to have access to all the display information. In the
case of get_edid, it also needs to pass which scanout we should
retrieve the edid for.

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.

Signed-off-by: Erico Nunes <ernunes@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230626164708.1163239-4-ernunes@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2023-07-10 16:17:07 -04:00
..
elf2dmp contrib/elf2dmp: add PE name check and Windows Server 2022 support 2023-03-21 13:19:07 +00:00
gitdm contrib/gitdm: add group map for AMD 2023-03-22 15:08:26 +00:00
ivshmem-client meson: build contrib/ executables after generated headers 2022-01-12 14:09:06 +01:00
ivshmem-server cutils: Adjust signature of parse_uint[_full] 2023-06-02 12:27:19 -05:00
plugins plugins: update lockstep to use g_memdup2 2023-07-03 12:52:03 +01:00
rdmacm-mux meson, configure: move RDMA options to meson 2022-04-28 08:52:20 +02:00
systemd
vhost-user-blk vhost-user: fully use new backend/frontend naming 2023-06-26 09:50:00 -04:00
vhost-user-gpu contrib/vhost-user-gpu: implement get_edid feature 2023-07-10 16:17:07 -04:00
vhost-user-input Fix build with 64 bits time_t 2021-05-14 10:26:18 -04:00
vhost-user-scsi vhost-user-scsi: avoid unlink(NULL) with fd passing 2022-05-16 16:48:35 -04:00