drm/amd/display: populate link res in both detection and validation
authorWenjing Liu <wenjing.liu@amd.com>
Fri, 26 Nov 2021 23:46:22 +0000 (18:46 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Dec 2021 13:54:44 +0000 (08:54 -0500)
commitf3fac9481bc7b9518df18f33b71a6109a245ccc6
treeb2f4e3c12a6a88dd2ea090d97169aeed7db0e316
parentef30f441f6ac12875c9901e8ea1b9cfae6f0e8bf
drm/amd/display: populate link res in both detection and validation

[why]
This commit is to populate link res in preparation of the next commit.
The next commit will replace all existing code to use link res instead

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
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/inc/core_types.h