]> git.ipfire.org Git - thirdparty/qemu.git/commit - hw/display/virtio-gpu.c
virtio-gpu: refactor generate_edid function to virtio_gpu_base
authorErico Nunes <ernunes@redhat.com>
Mon, 26 Jun 2023 16:47:05 +0000 (18:47 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 10 Jul 2023 20:17:07 +0000 (16:17 -0400)
commitee3729d9b088a1988cd6b0a7738fad644fbbc415
tree395645779983a66cef57bd0987be3e8b84132f47
parentcd9b8346884353ba9ae6560b44b7cccdf00a6633
virtio-gpu: refactor generate_edid function to virtio_gpu_base

This functionality can be shared with upcoming use in vhost-user-gpu, so
move it to the shared file to avoid duplicating it.

Signed-off-by: Erico Nunes <ernunes@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230626164708.1163239-2-ernunes@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/display/virtio-gpu-base.c
hw/display/virtio-gpu.c
include/hw/virtio/virtio-gpu.h