drm/amd/display: update link type to mst before topology discovery
authorWenjing Liu <Wenjing.Liu@amd.com>
Thu, 21 Sep 2017 22:53:40 +0000 (18:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 21 Oct 2017 20:42:55 +0000 (16:42 -0400)
commite4ba6335cd91367f31978db1fc62d6bac0489672
tree1d52b99c01039277e403516c969b898b950690dc
parentfcbbe3da0ab65dc114937857fce81902e3fa2a97
drm/amd/display: update link type to mst before topology discovery

[Description]
link type is not updated before mst topology discovery.
This causes issue when branch device response to link address after before
the start topology discovery event finishes.

[Solution]
update link type to mst before topology discovery

Signed-off-by: Wenjing Liu <Wenjing.Liu@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c