drm/amd/display: set lttpr mode before link settings
authorabdoulaye berthe <abdoulaye.berthe@amd.com>
Tue, 18 Feb 2020 22:05:05 +0000 (17:05 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Mar 2020 05:31:46 +0000 (00:31 -0500)
commitbcc5042a2209037da2784ac88d9e3dad6c6ed915
tree291660ed5c5649bb2148f9fd8ed92b95fc8806c3
parentccb6af1e25830e5601b6beacc698390f0245316f
drm/amd/display: set lttpr mode before link settings

[Why]
Some lttpr devices do not work properly when lttpr mode is configured
after link settings.

[How]
Move lttpr configuration before lane settings.

Signed-off-by: abdoulaye berthe <abdoulaye.berthe@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@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