vfio/display: Fix missing update to set backing fields
commit931150e56b056b120c868f94751722710df0b6a7
authorAlex Williamson <alex.williamson@redhat.com>
Wed, 16 Aug 2023 21:55:49 +0000 (16 15:55 -0600)
committerCédric Le Goater <clg@redhat.com>
Thu, 5 Oct 2023 20:04:51 +0000 (5 22:04 +0200)
tree9e2c61135053276c81dbc071a91724c2508d549d
parent2f3913f4b2ad74baeb5a6f1d36efbd9ecdf1057d
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>
hw/vfio/display.c