]> 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)
commit66ca848ecee980dcb433d506afa8f1881e8821fb
tree0bd10084f46f5faeb5f31a6a9d32f46c67fec5a0
parent9fc7ad24ea15bbeaecb6ed57986477173b6a2320
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