Skip to content

Commit

Permalink
drm/amd/display: Adjust some includes used by display
Browse files Browse the repository at this point in the history
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 <hamza.mahfooz@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
Rodrigo Siqueira authored and Alex Deucher committed Apr 12, 2024
1 parent a41aa6a commit 2c84f4c
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*
*/

#include "reg_helper.h"
#include "core_types.h"
#include "clk_mgr_internal.h"
#include "rv1_clk_mgr.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include "core_types.h"
#include "clk_mgr_internal.h"
#include "reg_helper.h"
#include <linux/delay.h>

#include "rv1_clk_mgr_vbios_smu.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*
*/

#include <linux/delay.h>
#include "dcn30_clk_mgr_smu_msg.h"

#include "clk_mgr_internal.h"
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_smu.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*
*/

#include <linux/delay.h>
#include "core_types.h"
#include "clk_mgr_internal.h"
#include "reg_helper.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_smu.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include "dm_helpers.h"
#include "dcn315_smu.h"
#include "mp/mp_13_0_5_offset.h"
#include "logger_types.h"

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

#include "logger_types.h"
#undef DC_LOGGER
#define DC_LOGGER \
CTX->logger
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
*/
#include "link_dp_trace.h"
#include "link/protocols/link_dpcd.h"
#include "link.h"

void dp_trace_init(struct dc_link *link)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
#include "dce110/dce110_resource.h"
#include "dce/dce_aux.h"
#include "dce/dce_i2c.h"
#include "dcn201/dcn201_hubbub.h"
#include "dcn10/dcn10_resource.h"

#include "cyan_skillfish_ip_offset.h"
Expand Down

0 comments on commit 2c84f4c

Please sign in to comment.