[PATCH -next] drm/amdgpu: Remove duplicated includes
Alex Deucher
alexdeucher at gmail.com
Mon Aug 14 18:02:53 UTC 2023
Applied. Thanks!
On Thu, Aug 10, 2023 at 8:33 AM GUO Zihua <guozihua at huawei.com> wrote:
>
> Remove duplicated includes in amdgpu_amdkfd_gpuvm.c and amdgpu_ttm.c.
> Resolves checkincludes message.
>
> Signed-off-by: GUO Zihua <guozihua at huawei.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 1 -
> drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 1 -
> 2 files changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
> index a136fba9f29b..7d6daf8d2bfa 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
> @@ -39,7 +39,6 @@
> #include "amdgpu_xgmi.h"
> #include "kfd_priv.h"
> #include "kfd_smi_events.h"
> -#include <drm/ttm/ttm_tt.h>
>
> /* Userptr restore delay, just long enough to allow consecutive VM
> * changes to accumulate
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
> index dea848bb55c1..f5aa1362c818 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
> @@ -49,7 +49,6 @@
> #include <drm/ttm/ttm_tt.h>
>
> #include <drm/amdgpu_drm.h>
> -#include <drm/drm_drv.h>
>
> #include "amdgpu.h"
> #include "amdgpu_object.h"
> --
> 2.17.1
>
More information about the amd-gfx
mailing list