Re: [PATCH v5 10/13] virtio-gpu: Add helpers to create and destroy dmabuf objects

2021-05-18 Thread Gerd Hoffmann
> +int virtio_gpu_update_dmabuf(VirtIOGPU *g, > + uint32_t scanout_id, > + struct virtio_gpu_simple_resource *res, > + struct virtio_gpu_framebuffer *fb) > +{ > +struct virtio_gpu_scanout *scanout = &g->parent_o

[PATCH v5 10/13] virtio-gpu: Add helpers to create and destroy dmabuf objects

2021-05-18 Thread Vivek Kasireddy
These helpers can be useful for creating dmabuf objects from blobs and submitting them to the UI. Cc: Gerd Hoffmann Signed-off-by: Vivek Kasireddy --- hw/display/virtio-gpu-udmabuf.c | 74 + include/hw/virtio/virtio-gpu.h | 15 +++ 2 files changed, 89 insert