Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Aurabindo Pillai and committed by
Alex Deucher
fd843d03 8365ed22

-4
-2
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c
··· 41 41 42 42 #include "dc_dmub_srv.h" 43 43 44 - #if defined (CONFIG_DRM_AMD_DC_DP2_0) 45 44 #include "dc_link_dp.h" 46 - #endif 47 45 48 46 #define TO_CLK_MGR_DCN315(clk_mgr)\ 49 47 container_of(clk_mgr, struct clk_mgr_dcn315, base)
-2
drivers/gpu/drm/amd/display/dc/dml/dml_wrapper.c
··· 1284 1284 for (i = 0; i < dc->res_pool->pipe_count; i++) { 1285 1285 if (!context->res_ctx.pipe_ctx[i].stream) 1286 1286 continue; 1287 - #if defined (CONFIG_DRM_AMD_DC_DP2_0) 1288 1287 if (is_dp_128b_132b_signal(&context->res_ctx.pipe_ctx[i])) 1289 1288 return true; 1290 - #endif 1291 1289 } 1292 1290 return false; 1293 1291 }