[PATCH] drm/amdgpu: Remove amdgpu_gem_map_attach target_dev documentation

Zhang, Jerry (Junwei) Jerry.Zhang at amd.com
Fri Jun 29 09:43:35 UTC 2018


On 06/29/2018 05:29 PM, Michel Dänzer wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang at amd.com>

>
> The parameter was removed.
>
> Fixes: a19741e5e5a9 "dma_buf: remove device parameter from attach
>                       callback v2"
>
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
> ---
>   drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
> index b2286bc41aec..df7226ad64b5 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
> @@ -191,7 +191,6 @@ amdgpu_gem_prime_import_sg_table(struct drm_device *dev,
>   /**
>    * amdgpu_gem_map_attach - &dma_buf_ops.attach implementation
>    * @dma_buf: shared DMA buffer
> - * @target_dev: target device
>    * @attach: DMA-buf attachment
>    *
>    * Makes sure that the shared DMA buffer can be accessed by the target device.
>


More information about the amd-gfx mailing list