[PATCH v3 2/5] drm/virtio: Add a helper to map and note the dma addrs and lengths
Dmitry Osipenko
dmitry.osipenko at collabora.com
Mon Nov 25 02:07:56 UTC 2024
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: No need to use long type for return here, usual int will be fine.
--
Best regards,
Dmitry
More information about the dri-devel
mailing list