vhost-user-gpu: fix import of DMABUF
commit80c8a26de5f1b7d67d4594957c0d82a0c47626be
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 15 May 2024 10:52:37 +0000 (15 14:52 +0400)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 1 Jul 2024 21:16:04 +0000 (1 17:16 -0400)
treef8e18fa45ea04087af942363f04c02936e48592c
parent84b58169e40f5c7428db6f0b229e01213068aa21
vhost-user-gpu: fix import of DMABUF

When using vhost-user-gpu with GL, qemu -display gtk doesn't show output
and prints: qemu: eglCreateImageKHR failed

Since commit 9ac06df8b ("virtio-gpu-udmabuf: correct naming of
QemuDmaBuf size properties"), egl_dmabuf_import_texture() uses
backing_{width,height} for the texture dimension.

Fixes: 9ac06df8b ("virtio-gpu-udmabuf: correct naming of QemuDmaBuf size properties")
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20240515105237.1074116-1-marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/display/vhost-user-gpu.c