]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: break down dc_link.c
authorWenjing Liu <wenjing.liu@amd.com>
Wed, 18 Jan 2023 22:31:24 +0000 (17:31 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 8 Feb 2023 22:15:51 +0000 (17:15 -0500)
commit54618888d1ea7a26f8bccfb89e3c2420350c8047
tree68ab072f1f5daba599d7d8be4f57898d87379cd5
parent71d7e8904d540dde6eaae4e3bac9cfd1894f4eaa
drm/amd/display: break down dc_link.c

[why]
dc_link contains over 30k line of code, the decision is to break it
down to files residing in link folder based on functionality. This
change is the last break down change which will remove dc_link.c
file after everything is broken down.

[how]
Move remaining dc_link.c functions into link_detection, link_dpms,
link_validation, link_resource, and link_fpga and remove dc_link.

Reviewed-by: George Shen <George.Shen@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
48 files changed:
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
drivers/gpu/drm/amd/display/dc/Makefile
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
drivers/gpu/drm/amd/display/dc/dc_link.h
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_stream_encoder.c
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hwseq.c
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_dio_stream_encoder.c
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_stream_encoder.c
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c
drivers/gpu/drm/amd/display/dc/inc/core_types.h
drivers/gpu/drm/amd/display/dc/inc/link.h
drivers/gpu/drm/amd/display/dc/link/Makefile
drivers/gpu/drm/amd/display/dc/link/accessories/link_dp_cts.c
drivers/gpu/drm/amd/display/dc/link/accessories/link_dp_trace.c
drivers/gpu/drm/amd/display/dc/link/accessories/link_dp_trace.h
drivers/gpu/drm/amd/display/dc/link/accessories/link_fpga.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/accessories/link_fpga.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dio.c
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_dp.c
drivers/gpu/drm/amd/display/dc/link/link_detection.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/link_detection.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/link_dpms.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/link_dpms.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/link_factory.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/link_factory.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/link_resource.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/link_resource.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/link_validation.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/link_validation.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_dpia.c
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_irq_handler.h
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_phy.c
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_phy.h
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.c
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_dpia.c