Re: [PATCH v3 2/5] drm/virtio: Add a helper to map and note the dma addrs and lengths

2024-11-24 Thread Dmitry Osipenko
On 11/19/24 08:59, Vivek Kasireddy wrote: > +long virtgpu_dma_buf_import_sgt(struct virtio_gpu_mem_entry **ents, > + unsigned int *nents, > + struct virtio_gpu_object *bo, > + struct dma_buf_attachment *attach) Nit

[PATCH v3 2/5] drm/virtio: Add a helper to map and note the dma addrs and lengths

2024-11-18 Thread Vivek Kasireddy
This helper would be used when first initializing the object as part of import and also when updating the plane where we need to ensure that the imported object's backing is valid. Cc: Gerd Hoffmann Cc: Dmitry Osipenko Cc: Rob Clark Cc: Gurchetan Singh Cc: Chia-I Wu Signed-off-by: Vivek Kasir