Skip to content

Commit 2c84f4c

Browse files
Rodrigo Siqueiraalexdeucher
authored andcommitted
drm/amd/display: Adjust some includes used by display
Some of the includes used in the DC can be removed and others need to be update. This commit adjusts some of those headers in the display code. Acked-by: Hamza Mahfooz <[email protected]> Signed-off-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent a41aa6a commit 2c84f4c

File tree

7 files changed

+1
-7
lines changed

7 files changed

+1
-7
lines changed

drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
*
2424
*/
2525

26-
#include "reg_helper.h"
2726
#include "core_types.h"
2827
#include "clk_mgr_internal.h"
2928
#include "rv1_clk_mgr.h"

drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr_vbios_smu.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#include "core_types.h"
2727
#include "clk_mgr_internal.h"
2828
#include "reg_helper.h"
29-
#include <linux/delay.h>
3029

3130
#include "rv1_clk_mgr_vbios_smu.h"
3231

drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/dcn30_clk_mgr_smu_msg.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
*
2424
*/
2525

26-
#include <linux/delay.h>
2726
#include "dcn30_clk_mgr_smu_msg.h"
2827

2928
#include "clk_mgr_internal.h"

drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_smu.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
*
2424
*/
2525

26-
#include <linux/delay.h>
2726
#include "core_types.h"
2827
#include "clk_mgr_internal.h"
2928
#include "reg_helper.h"

drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_smu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#include "dm_helpers.h"
3030
#include "dcn315_smu.h"
3131
#include "mp/mp_13_0_5_offset.h"
32+
#include "logger_types.h"
3233

3334
#define MAX_INSTANCE 6
3435
#define MAX_SEGMENT 6
@@ -69,7 +70,6 @@ static const struct IP_BASE NBIO_BASE = { { { { 0x00000000, 0x00000014, 0x00000D
6970
#define REG_NBIO(reg_name) \
7071
(NBIO_BASE.instance[0].segment[regBIF_BX_PF2_ ## reg_name ## _BASE_IDX] + regBIF_BX_PF2_ ## reg_name)
7172

72-
#include "logger_types.h"
7373
#undef DC_LOGGER
7474
#define DC_LOGGER \
7575
CTX->logger

drivers/gpu/drm/amd/display/dc/link/accessories/link_dp_trace.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
*/
2525
#include "link_dp_trace.h"
2626
#include "link/protocols/link_dpcd.h"
27-
#include "link.h"
2827

2928
void dp_trace_init(struct dc_link *link)
3029
{

drivers/gpu/drm/amd/display/dc/resource/dcn201/dcn201_resource.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
#include "dce110/dce110_resource.h"
5656
#include "dce/dce_aux.h"
5757
#include "dce/dce_i2c.h"
58-
#include "dcn201/dcn201_hubbub.h"
5958
#include "dcn10/dcn10_resource.h"
6059

6160
#include "cyan_skillfish_ip_offset.h"

0 commit comments

Comments
 (0)