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>
45 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 [moved from drivers/gpu/drm/amd/display/dc/link/link_dp_trace.c with 95% similarity]
drivers/gpu/drm/amd/display/dc/link/accessories/link_dp_trace.h [moved from drivers/gpu/drm/amd/display/dc/link/link_dp_trace.h with 91% similarity]
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dio.c [moved from drivers/gpu/drm/amd/display/dc/link/link_hwss_dio.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dio.h [moved from drivers/gpu/drm/amd/display/dc/link/link_hwss_dio.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dpia.c [moved from drivers/gpu/drm/amd/display/dc/link/link_hwss_dpia.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dpia.h [moved from drivers/gpu/drm/amd/display/dc/link/link_hwss_dpia.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_dp.c [moved from drivers/gpu/drm/amd/display/dc/link/link_hwss_hpo_dp.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_dp.h [moved from drivers/gpu/drm/amd/display/dc/link/link_hwss_hpo_dp.h with 100% similarity]
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 [moved from drivers/gpu/drm/amd/display/dc/link/link_ddc.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_ddc.h [moved from drivers/gpu/drm/amd/display/dc/link/link_ddc.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c [moved from drivers/gpu/drm/amd/display/dc/link/link_dp_capability.c with 99% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.h [moved from drivers/gpu/drm/amd/display/dc/link/link_dp_capability.h with 85% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_dpia.c [moved from drivers/gpu/drm/amd/display/dc/link/link_dp_dpia.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_dpia.h [moved from drivers/gpu/drm/amd/display/dc/link/link_dp_dpia.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_dpia_bw.c [moved from drivers/gpu/drm/amd/display/dc/link/link_dp_dpia_bw.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_dpia_bw.h [moved from drivers/gpu/drm/amd/display/dc/link/link_dp_dpia_bw.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_phy.c [moved from drivers/gpu/drm/amd/display/dc/link/link_dp_phy.c with 99% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_phy.h [moved from drivers/gpu/drm/amd/display/dc/link/link_dp_phy.h with 93% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.c [moved from drivers/gpu/drm/amd/display/dc/link/link_dp_training.c with 99% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.h [moved from drivers/gpu/drm/amd/display/dc/link/link_dp_training.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_128b_132b.c [moved from drivers/gpu/drm/amd/display/dc/link/link_dp_training_128b_132b.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_128b_132b.h [moved from drivers/gpu/drm/amd/display/dc/link/link_dp_training_128b_132b.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_8b_10b.c [moved from drivers/gpu/drm/amd/display/dc/link/link_dp_training_8b_10b.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_8b_10b.h [moved from drivers/gpu/drm/amd/display/dc/link/link_dp_training_8b_10b.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_auxless.c [moved from drivers/gpu/drm/amd/display/dc/link/link_dp_training_auxless.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_auxless.h [moved from drivers/gpu/drm/amd/display/dc/link/link_dp_training_auxless.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_dpia.c [moved from drivers/gpu/drm/amd/display/dc/link/link_dp_training_dpia.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_dpia.h [moved from drivers/gpu/drm/amd/display/dc/link/link_dp_training_dpia.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_fixed_vs_pe_retimer.c [moved from drivers/gpu/drm/amd/display/dc/link/link_dp_training_fixed_vs_pe_retimer.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_fixed_vs_pe_retimer.h [moved from drivers/gpu/drm/amd/display/dc/link/link_dp_training_fixed_vs_pe_retimer.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dpcd.c [moved from drivers/gpu/drm/amd/display/dc/link/link_dpcd.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_dpcd.h [moved from drivers/gpu/drm/amd/display/dc/link/link_dpcd.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_hpd.c [moved from drivers/gpu/drm/amd/display/dc/link/link_hpd.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/link/protocols/link_hpd.h [moved from drivers/gpu/drm/amd/display/dc/link/link_hpd.h with 100% similarity]