]> git.ipfire.org Git - thirdparty/qemu.git/commit
virtio-gpu: Don't require udmabuf when blobs and virgl are enabled
authorDmitry Osipenko <dmitry.osipenko@collabora.com>
Thu, 24 Oct 2024 21:03:06 +0000 (00:03 +0300)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 28 Oct 2024 16:56:35 +0000 (16:56 +0000)
commit6a3e00d8c9822433a8989bd0529e80580bf3e54f
tree15782f7b18cbac4c6120b70a5dd1d43af0afc351
parent2c868c7901590ae2cbc726c339325119ef0647cb
virtio-gpu: Don't require udmabuf when blobs and virgl are enabled

The udmabuf usage is mandatory when virgl is disabled and blobs feature
enabled in the Qemu machine configuration. If virgl and blobs are enabled,
then udmabuf requirement is optional. Since udmabuf isn't widely supported
by a popular Linux distros today, let's relax the udmabuf requirement for
blobs=on,virgl=on. Now, a full-featured virtio-gpu acceleration is
available to Qemu users without a need to have udmabuf available in the
system.

Reviewed-by: Antonio Caggiano <antonio.caggiano@collabora.com>
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Antonio Caggiano <quic_acaggian@quicinc.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Message-Id: <20241024210311.118220-9-dmitry.osipenko@collabora.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
hw/display/virtio-gpu.c