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

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


Applied.  Thanks!

On Thu, May 18, 2023 at 9:52 AM Christoph Hellwig <hch at lst.de> wrote:
>
> radeon does not need swiotlb.h, so stop including it.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
>  drivers/gpu/drm/radeon/radeon_ttm.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_ttm.c b/drivers/gpu/drm/radeon/radeon_ttm.c
> index 2220cdf6a3f680..04df08356d553f 100644
> --- a/drivers/gpu/drm/radeon/radeon_ttm.c
> +++ b/drivers/gpu/drm/radeon/radeon_ttm.c
> @@ -36,7 +36,6 @@
>  #include <linux/seq_file.h>
>  #include <linux/slab.h>
>  #include <linux/swap.h>
> -#include <linux/swiotlb.h>
>
>  #include <drm/drm_device.h>
>  #include <drm/drm_file.h>
> --
> 2.39.2
>


More information about the amd-gfx mailing list