2021-03-22 12:07:08

by Jiabing Wan

[permalink] [raw]
Subject: [PATCH] drivers: gpu: Remove duplicate include of amdgpu_hdp.h

amdgpu_hdp.h has been included at line 91, so remove
the duplicate include.

Signed-off-by: Wan Jiabing <[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 49267eb64302..68836c22ef25 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -107,7 +107,6 @@
#include "amdgpu_gfxhub.h"
#include "amdgpu_df.h"
#include "amdgpu_smuio.h"
-#include "amdgpu_hdp.h"

#define MAX_GPU_INSTANCE 16

--
2.25.1


2021-03-22 12:12:24

by Christian König

[permalink] [raw]
Subject: Re: [PATCH] drivers: gpu: Remove duplicate include of amdgpu_hdp.h



Am 22.03.21 um 13:02 schrieb Wan Jiabing:
> amdgpu_hdp.h has been included at line 91, so remove
> the duplicate include.
>
> Signed-off-by: Wan Jiabing <[email protected]>

Acked-by: Christian König <[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 49267eb64302..68836c22ef25 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
> @@ -107,7 +107,6 @@
> #include "amdgpu_gfxhub.h"
> #include "amdgpu_df.h"
> #include "amdgpu_smuio.h"
> -#include "amdgpu_hdp.h"
>
> #define MAX_GPU_INSTANCE 16
>

2021-03-23 15:02:06

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] drivers: gpu: Remove duplicate include of amdgpu_hdp.h

Applied. Thanks!

Alex

On Mon, Mar 22, 2021 at 8:10 AM Christian König
<[email protected]> wrote:
>
>
>
> Am 22.03.21 um 13:02 schrieb Wan Jiabing:
> > amdgpu_hdp.h has been included at line 91, so remove
> > the duplicate include.
> >
> > Signed-off-by: Wan Jiabing <[email protected]>
>
> Acked-by: Christian König <[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 49267eb64302..68836c22ef25 100644
> > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
> > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
> > @@ -107,7 +107,6 @@
> > #include "amdgpu_gfxhub.h"
> > #include "amdgpu_df.h"
> > #include "amdgpu_smuio.h"
> > -#include "amdgpu_hdp.h"
> >
> > #define MAX_GPU_INSTANCE 16
> >
>
> _______________________________________________
> amd-gfx mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx