mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 22:53:38 -04:00
drm/amd/display: remove redundant CONFIG_DRM_AMD_DC_DCN in dc
[Why & How] CONFIG_DRM_AMD_DC_DCN is used by pass the compilation failures, but DC code should be OS-agnostic. This patch fixes it by removing unnecessasry CONFIG_DRM_AMD_DC_DCN in dc and dc/core directories. Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Acked-by: Stylon Wang <stylon.wang@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -160,9 +160,7 @@ void dm_set_dcn_clocks(
|
||||
struct dc_context *ctx,
|
||||
struct dc_clocks *clks);
|
||||
|
||||
#if defined(CONFIG_DRM_AMD_DC_DCN)
|
||||
void dm_helpers_enable_periodic_detection(struct dc_context *ctx, bool enable);
|
||||
#endif
|
||||
|
||||
void dm_set_phyd32clk(struct dc_context *ctx, int freq_khz);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user