]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Wed, 15 Jan 2020 22:54:54 +0000 (17:54 -0500)
commit94d545cc7987b160e04b422db5867ebb6475f106
tree9574b97199120573f136acb3fb9e5090c26ae2e3
parent624bde6868df500820c291a54d84a7c4fa3c7cd6
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/dc/core/dc_link.c