drm/amd/display: create accessories, hwss and protocols sub folders in link
authorWenjing Liu <wenjing.liu@amd.com>
Fri, 16 Dec 2022 22:16:19 +0000 (17:16 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Jan 2023 18:26:25 +0000 (13:26 -0500)
commitbc33f5e5f05ba44e48909e2cfc5a97475ec69a4d
tree6b91322967b28b74094e68d6193eebbeb7df53c2
parent997336483200fef8eb43012307eb08410edddf15
drm/amd/display: create accessories, hwss and protocols sub folders in link

[why]
link component contains three sub folders:

accessories - utilities for improving testability, logging or tracing, doesn't impact
end user use cases.

protocols - specs defined protocols used in end user use cases

hwss - hwss owned link_hwss object, served as an abstraction layer in hwss to
access various types of encoder/phy/dpia endpoints in a unified interface.

sooner we will have files directly under link folder one for the implementation of
each major link behavior such as link_create, link_detect, link_validate
and link_set_dpms.

Reviewed-by: George Shen <George.Shen@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
79 files changed:
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.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/hdcp/hdcp_msg.c
drivers/gpu/drm/amd/display/dc/inc/dc_link_dp.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_trace.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/accessories/link_dp_trace.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dio.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dio.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dpia.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dpia.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_dp.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_dp.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/link_ddc.c [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_ddc.h [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dp_capability.c [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dp_capability.h [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dp_dpia.c [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dp_dpia.h [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dp_dpia_bw.c [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dp_dpia_bw.h [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dp_phy.c [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dp_phy.h [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dp_trace.c [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dp_trace.h [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dp_training.c [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dp_training.h [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dp_training_128b_132b.c [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dp_training_128b_132b.h [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dp_training_8b_10b.c [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dp_training_8b_10b.h [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dp_training_auxless.c [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dp_training_auxless.h [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dp_training_dpia.c [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dp_training_dpia.h [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dp_training_fixed_vs_pe_retimer.c [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dp_training_fixed_vs_pe_retimer.h [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dpcd.c [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_dpcd.h [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_hpd.c [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_hpd.h [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_hwss_dio.c [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_hwss_dio.h [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_hwss_dpia.c [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_hwss_dpia.h [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_hwss_hpo_dp.c [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_hwss_hpo_dp.h [deleted file]
drivers/gpu/drm/amd/display/dc/link/link_hwss_hpo_frl.h [deleted file]
drivers/gpu/drm/amd/display/dc/link/protocols/link_ddc.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_ddc.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_dpia.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_dpia.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_dpia_bw.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_dpia_bw.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_phy.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_phy.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_128b_132b.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_128b_132b.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_8b_10b.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_8b_10b.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_auxless.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_auxless.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_dpia.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_dpia.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_fixed_vs_pe_retimer.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_fixed_vs_pe_retimer.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dpcd.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dpcd.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_hpd.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/protocols/link_hpd.h [new file with mode: 0644]