]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Read eDP link settings on detection
authorAnthony Koo <Anthony.Koo@amd.com>
Tue, 26 Mar 2019 00:33:35 +0000 (20:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 15 Apr 2019 05:20:19 +0000 (00:20 -0500)
commit117d7119b97854c4bf505737909b7c2e5f59feb0
tree0bd10084f46f5faeb5f31a6a9d32f46c67fec5a0
parenta282d9f8292605886ab98483bbc2e0611c862358
drm/amd/display: Read eDP link settings on detection

[Why]
Unlike external DP panels, internal eDP does not perform
verify link caps because the panel connection is fixed.

So if GOP enabled the eDP at boot, we can retain its
trained link settings to optimize.

[How]
Read the lane count and link rate by reading this
information from DPCD 100h, 101h, 115h

Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c