[PATCH 5/6] drm/amdgpu: add support for exporting VRAM using DMA-buf v2

Jason Gunthorpe jgg at ziepe.ca
Wed Mar 11 14:39:49 UTC 2020


On Wed, Mar 11, 2020 at 02:51:57PM +0100, Christian König wrote:

> +/**
> + * amdgpu_vram_mgr_alloc_sgt - allocate and fill a sg table
> + *
> + * @adev: amdgpu device pointer
> + * @sgt: sg table to free


Wrong kdoc in many ways

> + * Free a previously allocate sg table.
> + */
> +void amdgpu_vram_mgr_free_sgt(struct amdgpu_device *adev,
> +			      struct device *dev,
> +			      enum dma_data_direction dir,
> +			      struct sg_table *sgt)
> +{


Jason


More information about the dri-devel mailing list