All of lore.kernel.org
 help / color / mirror / Atom feed
From: menglong8.dong@gmail.com
To: sunpeng.li@amd.com
Cc: harry.wentland@amd.com, alexander.deucher@amd.com,
	christian.koenig@amd.com, airlied@linux.ie, daniel@ffwll.ch,
	aurabindo.pillai@amd.com, sung.lee@amd.com,
	Rodrigo.Siqueira@amd.com, Tony.Cheng@amd.com,
	Dmytro.Laktyushkin@amd.com, wyatt.wood@amd.com,
	isabel.zhang@amd.com, aric.cyr@amd.com, Anthony.Koo@amd.com,
	Krunoslav.Kovac@amd.com, zhang.yunkai@zte.com.cn,
	amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH] drm/amd/display: remove duplicate include in dcn21 and gpio
Date: Sat,  6 Mar 2021 03:05:25 -0800	[thread overview]
Message-ID: <20210306110525.216316-1-zhang.yunkai@zte.com.cn> (raw)

From: Zhang Yunkai <zhang.yunkai@zte.com.cn>

'dce110_resource.h' included in 'dcn21_resource.c' is duplicated.
'hw_gpio.h' included in 'hw_factory_dce110.c' is duplicated.

Signed-off-by: Zhang Yunkai <zhang.yunkai@zte.com.cn>
---
 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c         | 1 -
 .../gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c    | 4 ----
 2 files changed, 5 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c
index 072f8c880924..8a6a965751e8 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c
@@ -61,7 +61,6 @@
 #include "dcn21/dcn21_dccg.h"
 #include "dcn21_hubbub.h"
 #include "dcn10/dcn10_resource.h"
-#include "dce110/dce110_resource.h"
 #include "dce/dce_panel_cntl.h"
 
 #include "dcn20/dcn20_dwb.h"
diff --git a/drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c b/drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c
index 66e4841f41e4..ca335ea60412 100644
--- a/drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c
+++ b/drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c
@@ -48,10 +48,6 @@
 #define REGI(reg_name, block, id)\
 	mm ## block ## id ## _ ## reg_name
 
-#include "../hw_gpio.h"
-#include "../hw_ddc.h"
-#include "../hw_hpd.h"
-
 #include "reg_helper.h"
 #include "../hpd_regs.h"
 
-- 
2.25.1


WARNING: multiple messages have this Message-ID (diff)
From: menglong8.dong@gmail.com
To: sunpeng.li@amd.com
Cc: isabel.zhang@amd.com, sung.lee@amd.com,
	Dmytro.Laktyushkin@amd.com, airlied@linux.ie, Tony.Cheng@amd.com,
	Rodrigo.Siqueira@amd.com, amd-gfx@lists.freedesktop.org,
	linux-kernel@vger.kernel.org, zhang.yunkai@zte.com.cn,
	aurabindo.pillai@amd.com, dri-devel@lists.freedesktop.org,
	wyatt.wood@amd.com, alexander.deucher@amd.com,
	Krunoslav.Kovac@amd.com, christian.koenig@amd.com,
	Anthony.Koo@amd.com
Subject: [PATCH] drm/amd/display: remove duplicate include in dcn21 and gpio
Date: Sat,  6 Mar 2021 03:05:25 -0800	[thread overview]
Message-ID: <20210306110525.216316-1-zhang.yunkai@zte.com.cn> (raw)

From: Zhang Yunkai <zhang.yunkai@zte.com.cn>

'dce110_resource.h' included in 'dcn21_resource.c' is duplicated.
'hw_gpio.h' included in 'hw_factory_dce110.c' is duplicated.

Signed-off-by: Zhang Yunkai <zhang.yunkai@zte.com.cn>
---
 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c         | 1 -
 .../gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c    | 4 ----
 2 files changed, 5 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c
index 072f8c880924..8a6a965751e8 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c
@@ -61,7 +61,6 @@
 #include "dcn21/dcn21_dccg.h"
 #include "dcn21_hubbub.h"
 #include "dcn10/dcn10_resource.h"
-#include "dce110/dce110_resource.h"
 #include "dce/dce_panel_cntl.h"
 
 #include "dcn20/dcn20_dwb.h"
diff --git a/drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c b/drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c
index 66e4841f41e4..ca335ea60412 100644
--- a/drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c
+++ b/drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c
@@ -48,10 +48,6 @@
 #define REGI(reg_name, block, id)\
 	mm ## block ## id ## _ ## reg_name
 
-#include "../hw_gpio.h"
-#include "../hw_ddc.h"
-#include "../hw_hpd.h"
-
 #include "reg_helper.h"
 #include "../hpd_regs.h"
 
-- 
2.25.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

WARNING: multiple messages have this Message-ID (diff)
From: menglong8.dong@gmail.com
To: sunpeng.li@amd.com
Cc: isabel.zhang@amd.com, sung.lee@amd.com,
	Dmytro.Laktyushkin@amd.com, airlied@linux.ie, Tony.Cheng@amd.com,
	Rodrigo.Siqueira@amd.com, aric.cyr@amd.com,
	amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org,
	zhang.yunkai@zte.com.cn, aurabindo.pillai@amd.com,
	dri-devel@lists.freedesktop.org, daniel@ffwll.ch,
	wyatt.wood@amd.com, alexander.deucher@amd.com,
	Krunoslav.Kovac@amd.com, harry.wentland@amd.com,
	christian.koenig@amd.com, Anthony.Koo@amd.com
Subject: [PATCH] drm/amd/display: remove duplicate include in dcn21 and gpio
Date: Sat,  6 Mar 2021 03:05:25 -0800	[thread overview]
Message-ID: <20210306110525.216316-1-zhang.yunkai@zte.com.cn> (raw)

From: Zhang Yunkai <zhang.yunkai@zte.com.cn>

'dce110_resource.h' included in 'dcn21_resource.c' is duplicated.
'hw_gpio.h' included in 'hw_factory_dce110.c' is duplicated.

Signed-off-by: Zhang Yunkai <zhang.yunkai@zte.com.cn>
---
 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c         | 1 -
 .../gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c    | 4 ----
 2 files changed, 5 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c
index 072f8c880924..8a6a965751e8 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c
@@ -61,7 +61,6 @@
 #include "dcn21/dcn21_dccg.h"
 #include "dcn21_hubbub.h"
 #include "dcn10/dcn10_resource.h"
-#include "dce110/dce110_resource.h"
 #include "dce/dce_panel_cntl.h"
 
 #include "dcn20/dcn20_dwb.h"
diff --git a/drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c b/drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c
index 66e4841f41e4..ca335ea60412 100644
--- a/drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c
+++ b/drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c
@@ -48,10 +48,6 @@
 #define REGI(reg_name, block, id)\
 	mm ## block ## id ## _ ## reg_name
 
-#include "../hw_gpio.h"
-#include "../hw_ddc.h"
-#include "../hw_hpd.h"
-
 #include "reg_helper.h"
 #include "../hpd_regs.h"
 
-- 
2.25.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

             reply	other threads:[~2021-03-06 11:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-06 11:05 menglong8.dong [this message]
2021-03-06 11:05 ` [PATCH] drm/amd/display: remove duplicate include in dcn21 and gpio menglong8.dong
2021-03-06 11:05 ` menglong8.dong
2021-03-08 21:45 ` Alex Deucher
2021-03-08 21:45   ` Alex Deucher
2021-03-08 21:45   ` Alex Deucher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210306110525.216316-1-zhang.yunkai@zte.com.cn \
    --to=menglong8.dong@gmail.com \
    --cc=Anthony.Koo@amd.com \
    --cc=Dmytro.Laktyushkin@amd.com \
    --cc=Krunoslav.Kovac@amd.com \
    --cc=Rodrigo.Siqueira@amd.com \
    --cc=Tony.Cheng@amd.com \
    --cc=airlied@linux.ie \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=aric.cyr@amd.com \
    --cc=aurabindo.pillai@amd.com \
    --cc=christian.koenig@amd.com \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=harry.wentland@amd.com \
    --cc=isabel.zhang@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sung.lee@amd.com \
    --cc=sunpeng.li@amd.com \
    --cc=wyatt.wood@amd.com \
    --cc=zhang.yunkai@zte.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.