]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Use HBR2 if eDP monitor it doesn't advertise link rate
authorHarry Wentland <harry.wentland@amd.com>
Tue, 21 Nov 2017 18:34:48 +0000 (13:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:44:02 +0000 (13:44 -0500)
commit939b583fc0f1edf28f18c9ffcd74695b9a525aed
treebc65ac6c9f42e5f20643274fbdb30b9493a50c43
parentbbadfe9dd0284b6fab19966fc274c0a166b7438b
drm/amd/display: Use HBR2 if eDP monitor it doesn't advertise link rate

Some eDP displays use the extra link rate table to advertise link rate
support. If they do that they don't need to provide link rate through
the usual registers. Since we don't currently have support for the extra
link rate table default to HBR2 for the display in this.

Note that this is a HACK. Ultimately we need to teach DC to use the
extra link rate table.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c