Skip to content

Commit fd843d0

Browse files
Aurabindo Pillaialexdeucher
authored andcommitted
drm/amd/display: remove stale config guards
This code should be executed. Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
1 parent 8365ed2 commit fd843d0

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@
4141

4242
#include "dc_dmub_srv.h"
4343

44-
#if defined (CONFIG_DRM_AMD_DC_DP2_0)
4544
#include "dc_link_dp.h"
46-
#endif
4745

4846
#define TO_CLK_MGR_DCN315(clk_mgr)\
4947
container_of(clk_mgr, struct clk_mgr_dcn315, base)

drivers/gpu/drm/amd/display/dc/dml/dml_wrapper.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,10 +1284,8 @@ static bool is_dtbclk_required(struct dc *dc, struct dc_state *context)
12841284
for (i = 0; i < dc->res_pool->pipe_count; i++) {
12851285
if (!context->res_ctx.pipe_ctx[i].stream)
12861286
continue;
1287-
#if defined (CONFIG_DRM_AMD_DC_DP2_0)
12881287
if (is_dp_128b_132b_signal(&context->res_ctx.pipe_ctx[i]))
12891288
return true;
1290-
#endif
12911289
}
12921290
return false;
12931291
}

0 commit comments

Comments
 (0)