]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio/display: Fix missing update to set backing fields
authorAlex Williamson <alex.williamson@redhat.com>
Wed, 16 Aug 2023 21:55:49 +0000 (15:55 -0600)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 10 Oct 2023 04:37:45 +0000 (07:37 +0300)
commit0f1d63d8241e7b28afcb3b705b17f6df29888116
tree90df5364d46f3fa0466999643c516eec0fcbe3a5
parent2adbc3b1e5092db5d839c142d179cf9d24fbef04
vfio/display: Fix missing update to set backing fields

The below referenced commit renames scanout_width/height to
backing_width/height, but also promotes these fields in various portions
of the egl interface.  Meanwhile vfio dmabuf support has never used the
previous scanout fields and is therefore missed in the update.  This
results in a black screen when transitioning from ramfb to dmabuf display
when using Intel vGPU with these features.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1891
Link: https://lists.gnu.org/archive/html/qemu-devel/2023-08/msg02726.html
Fixes: 9ac06df8b684 ("virtio-gpu-udmabuf: correct naming of QemuDmaBuf size properties")
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Tested-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
(cherry picked from commit 931150e56b056b120c868f94751722710df0b6a7)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/vfio/display.c