This code should be executed.
Unified · Split
| @@ -41,9 +41,7 @@ · 40 unmodified lines | ||
| 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) |
| @@ -1284,10 +1284,8 @@ static bool is_dtbclk_required(struct dc *dc, struct dc_state *context) · 1283 unmodified lines | ||
| 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 | } |