]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: use link type to decide stream enc acquisition
authorEric Yang <Eric.Yang2@amd.com>
Fri, 24 Aug 2018 20:54:14 +0000 (16:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Sep 2018 03:43:55 +0000 (22:43 -0500)
commit37b9b912c5e43993c2479a4025cbd9cbf991c86b
tree6c0ad7b0760e262fcde2d216d72ef90275193b2a
parentcffba24ee4bceedfb22d3c6cf3fcc5afced37cae
drm/amd/display: use link type to decide stream enc acquisition

[Why]
Virtual sink is used when set mode happens on a disconnected display
to allow the mode set to proceed. This did not work with MST because
the logic for acquiring stream encoder uses stream signal to determine
the special handling is required, and stream signal is virtual instead
of DP in this case.

[How]
Use link type to decide instead.

Signed-off-by: Eric Yang <Eric.Yang2@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c