[PATCH] drm/amdgpu: stop including swiotlb.h

Alex Deucher alexdeucher at gmail.com
Fri May 19 17:00:09 UTC 2023


Applied.  Thanks!

On Thu, May 18, 2023 at 9:52 AM Christoph Hellwig <hch at lst.de> wrote:
>
> amdgpu does not need swiotlb.h, so stop including it.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
> index 2cd081cbf70621..385e04612e4e9b 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
> @@ -38,7 +38,6 @@
>  #include <linux/seq_file.h>
>  #include <linux/slab.h>
>  #include <linux/swap.h>
> -#include <linux/swiotlb.h>
>  #include <linux/dma-buf.h>
>  #include <linux/sizes.h>
>  #include <linux/module.h>
> --
> 2.39.2
>


More information about the dri-devel mailing list