drm/amd/display: move dc_link functions in accessories folder to dc_link_exports
authorWenjing Liu <wenjing.liu@amd.com>
Tue, 14 Feb 2023 16:24:01 +0000 (11:24 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Mar 2023 19:22:40 +0000 (14:22 -0500)
commit36516001a7c9cd7901673548ec685bd180b1b548
treec9d80078e95483546aad4aa34553b5055ad542ee
parent84c03df58d8bbf77feb2f199f10dbe8f7f72c782
drm/amd/display: move dc_link functions in accessories folder to dc_link_exports

[why]
link component should only have one interface serving dc.

[how]
We are moving dc_link functions exposed to DM to dc_link_exports
and unify link component interface in link.h with function pointer
to match the style of other dc component. This is the first step to move
dc_link functions under accessories folder to dc_link_exports.

Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@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>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/core/dc_link_exports.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/inc/link.h
drivers/gpu/drm/amd/display/dc/link/accessories/link_dp_cts.c
drivers/gpu/drm/amd/display/dc/link/accessories/link_dp_cts.h
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/link_factory.c
drivers/gpu/drm/amd/display/dc/link/link_resource.h
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_phy.h