2024-05-16 08:22:33

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH] drm/amdgpu: Remove duplicate amdgpu_umsch_mm.h header

/drivers/gpu/drm/amd/amdgpu/amdgpu.h: amdgpu_umsch_mm.h is included more than once.

Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9063
Signed-off-by: Jiapeng Chong <[email protected]>
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 1a14e0101dac..bfae3c17e9bd 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -112,7 +112,6 @@
#include "amdgpu_xcp.h"
#include "amdgpu_seq64.h"
#include "amdgpu_reg_state.h"
-#include "amdgpu_umsch_mm.h"

#define MAX_GPU_INSTANCE 64

--
2.20.1.7.g153144c



2024-05-16 14:48:39

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] drm/amdgpu: Remove duplicate amdgpu_umsch_mm.h header

Applied. Thanks!

On Thu, May 16, 2024 at 4:47 AM Jiapeng Chong
<[email protected]> wrote:
>
> ./drivers/gpu/drm/amd/amdgpu/amdgpu.h: amdgpu_umsch_mm.h is included more than once.
>
> Reported-by: Abaci Robot <[email protected]>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9063
> Signed-off-by: Jiapeng Chong <[email protected]>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
> index 1a14e0101dac..bfae3c17e9bd 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
> @@ -112,7 +112,6 @@
> #include "amdgpu_xcp.h"
> #include "amdgpu_seq64.h"
> #include "amdgpu_reg_state.h"
> -#include "amdgpu_umsch_mm.h"
>
> #define MAX_GPU_INSTANCE 64
>
> --
> 2.20.1.7.g153144c
>