]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 06:00:53 +0000 (01:00 -0500)
commit28ddfc611b8ca0e5582eddc34a7f8de61b1bc736
tree093111e247ad2906ab958c913da3039a1fc24206
parent356040b90db56f4a0c6893f1cf770bb39f1a24a0
drm/amd/display: Reorder detect_edp_sink_caps before link settings read.

BugLink: https://bugs.launchpad.net/bugs/1862429
[ Upstream commit 3b7c59754cc22760760a84ebddb8e0b1e8dd871b ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c