drm/amd/display: Reorder detect_edp_sink_caps before link settings read.
authorMario Kleiner <mario.kleiner.de@gmail.com>
Thu, 9 Jan 2020 15:20:27 +0000 (16:20 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Jan 2020 15:18:58 +0000 (10:18 -0500)
commit5d593d682ffa533615f81a0680d4aa18dbeb97f7
tree5f0f46a0912b0ea6c8ed8cd3107adc28eba09640
parenta2e4b418c6714e2dfe3d0026fdc6905186f55001
drm/amd/display: Reorder detect_edp_sink_caps before link settings read.

read_current_link_settings_on_detect() on eDP 1.4+ may use the
edp_supported_link_rates table which is set up by
detect_edp_sink_caps(), so that function needs to be called first.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Cc: Martin Leung <martin.leung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c