2021-10-01 10:21:26

by Christian König

[permalink] [raw]
Subject: Re: [PATCH] drm/amdgpu: remove some repeated includings

Am 01.10.21 um 12:13 schrieb Guo Zhengkui:
> Remove two repeated includings in line 46 and 47.
>
> Signed-off-by: Guo Zhengkui <[email protected]>

Acked-by: Christian König <[email protected]>

> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
> index 291a47f7992a..daa798c5b882 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
> @@ -30,34 +30,32 @@
>
> #include "soc15.h"
> #include "gfx_v9_0.h"
> #include "gmc_v9_0.h"
> #include "df_v1_7.h"
> #include "df_v3_6.h"
> #include "nbio_v6_1.h"
> #include "nbio_v7_0.h"
> #include "nbio_v7_4.h"
> #include "hdp_v4_0.h"
> #include "vega10_ih.h"
> #include "vega20_ih.h"
> #include "sdma_v4_0.h"
> #include "uvd_v7_0.h"
> #include "vce_v4_0.h"
> #include "vcn_v1_0.h"
> -#include "vcn_v2_0.h"
> -#include "jpeg_v2_0.h"
> #include "vcn_v2_5.h"
> #include "jpeg_v2_5.h"
> #include "smuio_v9_0.h"
> #include "gmc_v10_0.h"
> #include "gfxhub_v2_0.h"
> #include "mmhub_v2_0.h"
> #include "nbio_v2_3.h"
> #include "nbio_v7_2.h"
> #include "hdp_v5_0.h"
> #include "nv.h"
> #include "navi10_ih.h"
> #include "gfx_v10_0.h"
> #include "sdma_v5_0.h"
> #include "sdma_v5_2.h"
> #include "vcn_v2_0.h"
> #include "jpeg_v2_0.h"


2021-10-01 16:06:12

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] drm/amdgpu: remove some repeated includings

Applied. Thanks!

Alex

On Fri, Oct 1, 2021 at 6:16 AM Christian König <[email protected]> wrote:
>
> Am 01.10.21 um 12:13 schrieb Guo Zhengkui:
> > Remove two repeated includings in line 46 and 47.
> >
> > Signed-off-by: Guo Zhengkui <[email protected]>
>
> Acked-by: Christian König <[email protected]>
>
> > ---
> > drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 2 --
> > 1 file changed, 2 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
> > index 291a47f7992a..daa798c5b882 100644
> > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
> > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
> > @@ -30,34 +30,32 @@
> >
> > #include "soc15.h"
> > #include "gfx_v9_0.h"
> > #include "gmc_v9_0.h"
> > #include "df_v1_7.h"
> > #include "df_v3_6.h"
> > #include "nbio_v6_1.h"
> > #include "nbio_v7_0.h"
> > #include "nbio_v7_4.h"
> > #include "hdp_v4_0.h"
> > #include "vega10_ih.h"
> > #include "vega20_ih.h"
> > #include "sdma_v4_0.h"
> > #include "uvd_v7_0.h"
> > #include "vce_v4_0.h"
> > #include "vcn_v1_0.h"
> > -#include "vcn_v2_0.h"
> > -#include "jpeg_v2_0.h"
> > #include "vcn_v2_5.h"
> > #include "jpeg_v2_5.h"
> > #include "smuio_v9_0.h"
> > #include "gmc_v10_0.h"
> > #include "gfxhub_v2_0.h"
> > #include "mmhub_v2_0.h"
> > #include "nbio_v2_3.h"
> > #include "nbio_v7_2.h"
> > #include "hdp_v5_0.h"
> > #include "nv.h"
> > #include "navi10_ih.h"
> > #include "gfx_v10_0.h"
> > #include "sdma_v5_0.h"
> > #include "sdma_v5_2.h"
> > #include "vcn_v2_0.h"
> > #include "jpeg_v2_0.h"
>