]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add w/a to reset PHY before link training in verify_link_cap
authorGeorge Shen <george.shen@amd.com>
Tue, 17 Dec 2019 19:34:33 +0000 (14:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Jan 2020 19:15:17 +0000 (14:15 -0500)
commitd2bcd12e27bcea57db6c5ebabcb822ca9fda5eae
tree9d1799d854f9ddc18c4f61206b0448968f6798f5
parent16f112c1f6af336cf1f1dbad50da5916210d661d
drm/amd/display: Add w/a to reset PHY before link training in verify_link_cap

[Why]
PHY will sometimes be in bad state on hotplugging display from USB-C
dongle.

[How]
Add additional calls to disable and then enable PHY before link training
starts during verify_link_cap.

Signed-off-by: George Shen <george.shen@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c