mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-05-02 18:17:50 -04:00
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
This commit is contained in:
committed by
Alex Deucher
parent
8365ed22d0
commit
fd843d0341
@@ -41,9 +41,7 @@
|
|||||||
|
|
||||||
#include "dc_dmub_srv.h"
|
#include "dc_dmub_srv.h"
|
||||||
|
|
||||||
#if defined (CONFIG_DRM_AMD_DC_DP2_0)
|
|
||||||
#include "dc_link_dp.h"
|
#include "dc_link_dp.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#define TO_CLK_MGR_DCN315(clk_mgr)\
|
#define TO_CLK_MGR_DCN315(clk_mgr)\
|
||||||
container_of(clk_mgr, struct clk_mgr_dcn315, base)
|
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)
|
|||||||
for (i = 0; i < dc->res_pool->pipe_count; i++) {
|
for (i = 0; i < dc->res_pool->pipe_count; i++) {
|
||||||
if (!context->res_ctx.pipe_ctx[i].stream)
|
if (!context->res_ctx.pipe_ctx[i].stream)
|
||||||
continue;
|
continue;
|
||||||
#if defined (CONFIG_DRM_AMD_DC_DP2_0)
|
|
||||||
if (is_dp_128b_132b_signal(&context->res_ctx.pipe_ctx[i]))
|
if (is_dp_128b_132b_signal(&context->res_ctx.pipe_ctx[i]))
|
||||||
return true;
|
return true;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user