]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: get and restore link res map
authorWenjing Liu <wenjing.liu@amd.com>
Fri, 10 Dec 2021 19:22:19 +0000 (14:22 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Dec 2021 13:54:45 +0000 (08:54 -0500)
commit4783928560739c2451c4f10c66edf15d7e8f7359
tree6b78dc318dc0473d65d705b50f87c77970bbcf24
parent4e49e407105e4bd047296c475a100034c12a7c2c
drm/amd/display: get and restore link res map

[why]
When reboot the link res map should be persisted.  So during boot up,
driver will look at the map to determine which link should take priority
to use certain link res.  This is to ensure that link res remains
unshuffled after a reboot.

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/dc_link.h
drivers/gpu/drm/amd/display/dc/inc/core_types.h