[PATCH] drm/amdgpu: remove some repeated includings

Christian König christian.koenig at amd.com
Fri Oct 1 10:15:51 UTC 2021


Am 01.10.21 um 12:13 schrieb Guo Zhengkui:
> Remove two repeated includings in line 46 and 47.
>
> Signed-off-by: Guo Zhengkui <guozhengkui at vivo.com>

Acked-by: Christian König <christian.koenig at amd.com>

> ---
>   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"



More information about the amd-gfx mailing list