drm/amd/display: move link_hwss to link folder and break down to files
authorWenjing Liu <wenjing.liu@amd.com>
Fri, 28 Jan 2022 14:04:07 +0000 (22:04 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Feb 2022 23:26:32 +0000 (18:26 -0500)
commitfd24926676801dd68afa1f39647a858cf4f6ae50
tree30bd5eae94274405a49df137d238b6bdeba5909a
parent2750caffa7a9ae82824d7ac3ab0fee65181c4126
drm/amd/display: move link_hwss to link folder and break down to files

[why]
Move link_hwss to its own folder as part of DC LIB and break it down
to separate file one for each type of backend for code isolation.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
17 files changed:
drivers/gpu/drm/amd/display/dc/Makefile
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/inc/core_types.h
drivers/gpu/drm/amd/display/dc/inc/link_hwss.h
drivers/gpu/drm/amd/display/dc/link/Makefile [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/link_hwss_dio.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/link_hwss_dio.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/link_hwss_dpia.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/link_hwss_dpia.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/link_hwss_hpo_dp.c [moved from drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c with 54% similarity]
drivers/gpu/drm/amd/display/dc/link/link_hwss_hpo_dp.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/link_hwss_hpo_frl.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/link_hwss_hpo_frl.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/virtual/Makefile
drivers/gpu/drm/amd/display/dc/virtual/virtual_link_hwss.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/virtual/virtual_link_hwss.h [new file with mode: 0644]