]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix for link encoder access for MST.
authorMeenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com>
Thu, 2 Sep 2021 18:09:30 +0000 (14:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Sep 2021 13:30:11 +0000 (09:30 -0400)
commitce93a49d7c51bdfbbda9075509917be1003f15bd
treefc92f559a18ee5b24fffbec65b26b0dc9f399670
parent8d52c2f022625b7bc89e7e4081f34377c91c663b
drm/amd/display: Fix for link encoder access for MST.

[Why]
Link encoder in the link could be null for certain links.

[How]
If link encoder in the link is null then get the link encoder
from the stream.

Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Signed-off-by: Meenakshikumar Somasundaram <meenakshikumar.somasundaram@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_link.c