Skip to contentSkip to conversation

drm/amd/display: Remove duplicated include in dcn35_resource.c

PATCH Applied Yang Li 2 participants 8 messages Sep 1, 2023 – Sep 5, 2023

Subsystems (3)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/4 drm/amd/display: Remove duplicated include in dcn35_resource.c

./drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c: dcn31/dcn31_dio_link_encoder.h is included more than once.

---
 drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c +0 -1
index 0386b8fb270d..7f059fc2fc75 100644
@@ -61,7 +61,6 @@
 #include "dcn32/dcn32_hpo_dp_link_encoder.h"
 #include "link.h"
 #include "dcn31/dcn31_apg.h"
-#include "dcn31/dcn31_dio_link_encoder.h"
 #include "dcn32/dcn32_dio_link_encoder.h"
 #include "dcn31/dcn31_vpg.h"
 #include "dcn31/dcn31_afmt.h"
Signature · 1 line
2.20.1.7.g153144c
author
#1 lore raw

PATCH 2/4 drm/amd/display: Remove duplicated include in dcn35_optc.c

./drivers/gpu/drm/amd/display/dc/dcn35/dcn35_optc.c: dcn35_optc.h is included more than once.

---
 drivers/gpu/drm/amd/display/dc/dcn35/dcn35_optc.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_optc.c +0 -1
index d64be1a5071c..2bea1e475096 100644
@@ -23,7 +23,6 @@
  */
 
 #include "dcn35_optc.h"
-#include "dcn35_optc.h"
 
 #include "dcn30/dcn30_optc.h"
 #include "dcn31/dcn31_optc.h"
Signature · 1 line
2.20.1.7.g153144c
Applied
#2 lore raw

Re: [PATCH -next 2/4] drm/amd/display: Remove duplicated include in dcn35_optc.c

Applied. Thanks!

Quoted 23 lines · Yang Li

./drivers/gpu/drm/amd/display/dc/dcn35/dcn35_optc.c: dcn35_optc.h is included more than once.

---
 drivers/gpu/drm/amd/display/dc/dcn35/dcn35_optc.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_optc.c +0 -2
index d64be1a5071c..2bea1e475096 100644
@@ -23,7 +23,6 @@
  */
 
 #include "dcn35_optc.h"
-#include "dcn35_optc.h"
 
 #include "dcn30/dcn30_optc.h"
 #include "dcn31/dcn31_optc.h"
--

2.20.1.7.g153144c

author
#3 lore raw

PATCH 3/4 drm/amd/display: Remove duplicated include in dcn35_hwseq.c

In reply to Yang Li

./drivers/gpu/drm/amd/display/dc/dcn35/dcn35_hwseq.c: clk_mgr.h is included more than once.

---
 drivers/gpu/drm/amd/display/dc/dcn35/dcn35_hwseq.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_hwseq.c +0 -1
index cacb557a3014..666e2809d9dc 100644
@@ -31,7 +31,6 @@
 #include "clk_mgr.h"
 #include "reg_helper.h"
 #include "abm.h"
-#include "clk_mgr.h"
 #include "hubp.h"
 #include "dchubbub.h"
 #include "timing_generator.h"
Signature · 1 line
2.20.1.7.g153144c
Applied
#4 lore raw

Re: [PATCH -next 3/4] drm/amd/display: Remove duplicated include in dcn35_hwseq.c

Applied. Thanks!

Quoted 23 lines · Yang Li

./drivers/gpu/drm/amd/display/dc/dcn35/dcn35_hwseq.c: clk_mgr.h is included more than once.

---
 drivers/gpu/drm/amd/display/dc/dcn35/dcn35_hwseq.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_hwseq.c +0 -2
index cacb557a3014..666e2809d9dc 100644
@@ -31,7 +31,6 @@
 #include "clk_mgr.h"
 #include "reg_helper.h"
 #include "abm.h"
-#include "clk_mgr.h"
 #include "hubp.h"
 #include "dchubbub.h"
 #include "timing_generator.h"
--

2.20.1.7.g153144c

author
#5 lore raw

PATCH 4/4 drm/amd/display: Remove duplicated include in dcn35_clk_mgr.c

In reply to Yang Li

./drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c: dcn35_clk_mgr.h is included more than once.

---
 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c +0 -1
index 3b2463c03694..9314e75195cd 100644
@@ -46,7 +46,6 @@
 /* TODO: remove this include once we ported over remaining clk mgr functions*/
 #include "dcn30/dcn30_clk_mgr.h"
 #include "dcn31/dcn31_clk_mgr.h"
-#include "dcn35_clk_mgr.h"
 
 #include "dc_dmub_srv.h"
 #include "link.h"
Signature · 1 line
2.20.1.7.g153144c
Applied
#6 lore raw

Re: [PATCH -next 4/4] drm/amd/display: Remove duplicated include in dcn35_clk_mgr.c

Applied. Thanks!

Quoted 23 lines · Yang Li

./drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c: dcn35_clk_mgr.h is included more than once.

---
 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c +0 -2
index 3b2463c03694..9314e75195cd 100644
@@ -46,7 +46,6 @@
 /* TODO: remove this include once we ported over remaining clk mgr functions*/
 #include "dcn30/dcn30_clk_mgr.h"
 #include "dcn31/dcn31_clk_mgr.h"
-#include "dcn35_clk_mgr.h"
 
 #include "dc_dmub_srv.h"
 #include "link.h"
--

2.20.1.7.g153144c

Applied
#7 lore raw
In reply to Yang Li

Applied. Thanks!

Quoted 23 lines · Yang Li

./drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c: dcn31/dcn31_dio_link_encoder.h is included more than once.

---
 drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c +0 -2
index 0386b8fb270d..7f059fc2fc75 100644
@@ -61,7 +61,6 @@
 #include "dcn32/dcn32_hpo_dp_link_encoder.h"
 #include "link.h"
 #include "dcn31/dcn31_apg.h"
-#include "dcn31/dcn31_dio_link_encoder.h"
 #include "dcn32/dcn32_dio_link_encoder.h"
 #include "dcn31/dcn31_vpg.h"
 #include "dcn31/dcn31_afmt.h"
--

2.20.1.7.g153144c