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

drm/amd/display: Clean up code in DC

This commit removes some unnecessary code and makes the required
adjustments to replace other parts of the code with a short option.

Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Rodrigo Siqueira and committed by
Alex Deucher
7da45e74 2a8f7464

+10 -25
+5 -6
drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c
··· 62 62 #include "dcn20/dcn20_vmid.h" 63 63 #include "dce/dce_panel_cntl.h" 64 64 65 + #include "dcn20/dcn20_dwb.h" 66 + #include "dcn20/dcn20_mmhubbub.h" 67 + 65 68 #include "navi10_ip_offset.h" 66 69 67 70 #include "dcn/dcn_2_0_0_offset.h" ··· 73 70 #include "dpcs/dpcs_2_0_0_sh_mask.h" 74 71 75 72 #include "nbio/nbio_2_3_offset.h" 76 - 77 - #include "dcn20/dcn20_dwb.h" 78 - #include "dcn20/dcn20_mmhubbub.h" 79 73 80 74 #include "mmhub/mmhub_2_0_0_offset.h" 81 75 #include "mmhub/mmhub_2_0_0_sh_mask.h" ··· 83 83 #include "dce/dce_aux.h" 84 84 #include "dce/dce_i2c.h" 85 85 #include "vm_helper.h" 86 + 86 87 #include "link_enc_cfg.h" 87 - 88 - #include "amdgpu_socbb.h" 89 - 90 88 #include "link.h" 89 + 91 90 #define DC_LOGGER_INIT(logger) 92 91 93 92 #ifndef mmDP0_DP_DPHY_INTERNAL_CTRL