]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Don't skip link training for empty dongle
authorEric Yang <Eric.Yang2@amd.com>
Fri, 23 Nov 2018 10:55:20 +0000 (05:55 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Dec 2018 23:25:12 +0000 (18:25 -0500)
commit43686cca57dc9ab7f76d7775241feb16f21fd293
treefdfe85d10de3ce8cced66ff3d8977d160445b72f
parent388e2e2d953899188fe4c14a2724b911537edbd0
drm/amd/display: Don't skip link training for empty dongle

[Why]
Skipping initial link training will result in no verified link cap for
mode enumeration. Some versions of the BIOS seem to have PHY programming
sequence issue as well if initial link training is skipped, resulting in
a softlock in BIOS command table.

[How]
Identify the empty dongle hotplug case, and still do initial link
training.

Signed-off-by: Eric Yang <Eric.Yang2@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c