virtio-gpu: Add helpers to create and destroy dmabuf objects
commit5752519e93e2783c7fdca15b3480eb0f8687fb94
authorVivek Kasireddy <vivek.kasireddy@intel.com>
Wed, 26 May 2021 23:14:26 +0000 (26 16:14 -0700)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 27 May 2021 10:07:37 +0000 (27 12:07 +0200)
tree3242527bfac6aa1453371163bf585bb14f66b59a
parent8069b73bee8915acdeb69b4456b216f637032e7e
virtio-gpu: Add helpers to create and destroy dmabuf objects

These helpers can be useful for creating dmabuf objects from blobs
and submitting them to the UI.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Message-Id: <20210526231429.1045476-12-vivek.kasireddy@intel.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/virtio-gpu-udmabuf.c
include/hw/virtio/virtio-gpu.h
stubs/virtio-gpu-udmabuf.c