2020-08-19 11:38:07

by Wang Hai

[permalink] [raw]
Subject: [PATCH -next] drm/amd/powerplay: remove duplicate include

Remove asic_reg/nbio/nbio_6_1_offset.h which is included more than once

Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wang Hai <[email protected]>
---
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h b/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h
index e6d9e84059e1..0d08c57d3bca 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h
@@ -34,7 +34,6 @@
#include "asic_reg/gc/gc_9_2_1_offset.h"
#include "asic_reg/gc/gc_9_2_1_sh_mask.h"

-#include "asic_reg/nbio/nbio_6_1_offset.h"
#include "asic_reg/nbio/nbio_6_1_offset.h"
#include "asic_reg/nbio/nbio_6_1_sh_mask.h"

--
2.17.1


2020-08-20 03:01:33

by Evan Quan

[permalink] [raw]
Subject: RE: [PATCH -next] drm/amd/powerplay: remove duplicate include

[AMD Official Use Only - Internal Distribution Only]

Reviewed-by: Evan Quan <[email protected]>

-----Original Message-----
From: Wang Hai <[email protected]>
Sent: Wednesday, August 19, 2020 7:34 PM
To: Quan, Evan <[email protected]>; Deucher, Alexander <[email protected]>; Koenig, Christian <[email protected]>; [email protected]; [email protected]
Cc: [email protected]; [email protected]; [email protected]
Subject: [PATCH -next] drm/amd/powerplay: remove duplicate include

Remove asic_reg/nbio/nbio_6_1_offset.h which is included more than once

Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wang Hai <[email protected]>
---
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h b/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h
index e6d9e84059e1..0d08c57d3bca 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h
@@ -34,7 +34,6 @@
#include "asic_reg/gc/gc_9_2_1_offset.h"
#include "asic_reg/gc/gc_9_2_1_sh_mask.h"

-#include "asic_reg/nbio/nbio_6_1_offset.h"
#include "asic_reg/nbio/nbio_6_1_offset.h"
#include "asic_reg/nbio/nbio_6_1_sh_mask.h"

--
2.17.1

2020-08-20 18:13:02

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH -next] drm/amd/powerplay: remove duplicate include

Applied. Thanks!

Alex

On Wed, Aug 19, 2020 at 11:00 PM Quan, Evan <[email protected]> wrote:
>
> [AMD Official Use Only - Internal Distribution Only]
>
> Reviewed-by: Evan Quan <[email protected]>
>
> -----Original Message-----
> From: Wang Hai <[email protected]>
> Sent: Wednesday, August 19, 2020 7:34 PM
> To: Quan, Evan <[email protected]>; Deucher, Alexander <[email protected]>; Koenig, Christian <[email protected]>; [email protected]; [email protected]
> Cc: [email protected]; [email protected]; [email protected]
> Subject: [PATCH -next] drm/amd/powerplay: remove duplicate include
>
> Remove asic_reg/nbio/nbio_6_1_offset.h which is included more than once
>
> Reported-by: Hulk Robot <[email protected]>
> Signed-off-by: Wang Hai <[email protected]>
> ---
> drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h b/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h
> index e6d9e84059e1..0d08c57d3bca 100644
> --- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h
> +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h
> @@ -34,7 +34,6 @@
> #include "asic_reg/gc/gc_9_2_1_offset.h"
> #include "asic_reg/gc/gc_9_2_1_sh_mask.h"
>
> -#include "asic_reg/nbio/nbio_6_1_offset.h"
> #include "asic_reg/nbio/nbio_6_1_offset.h"
> #include "asic_reg/nbio/nbio_6_1_sh_mask.h"
>
> --
> 2.17.1
>
> _______________________________________________
> dri-devel mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/dri-devel