OSDN Git Service

drm/amd/display: fix usb-c dongle regression
authorEric Yang <Eric.Yang2@amd.com>
Thu, 7 Sep 2017 18:53:23 +0000 (14:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 21 Oct 2017 20:40:07 +0000 (16:40 -0400)
commit1049e39fa62f443aae64a2fb6057b96abf20e8de
treeabb63115a609413d2ef7bc4a11f9f80e4d568f54
parent5088cc98f59b922a609078c048a25e30f94b9216
drm/amd/display: fix usb-c dongle regression

A previous change moved link_disconnect_sink after dpcd read,
this causes the sink count to be overwritten which in turn causes
another detection to be triggered in the short pulse handler, which
brings down the display.

Signed-off-by: Eric Yang <Eric.Yang2@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