]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: analogix_dp: Fix incorrect usage of enhanced mode
authorzain wang <wzz@rock-chips.com>
Mon, 23 Apr 2018 10:49:45 +0000 (12:49 +0200)
committerAndrzej Hajda <a.hajda@samsung.com>
Tue, 24 Apr 2018 06:34:36 +0000 (08:34 +0200)
commit5766dfe777ae34f00118b4be770f3664036fa4b0
tree40e09a87522700173845e318b76b8d5e2f657050
parentbddea2214703c921dc7bee767b92fe2ea51baa36
drm/bridge: analogix_dp: Fix incorrect usage of enhanced mode

Enhanced mode is required by the eDP 1.2 specification, and not doing it
early could result in a period of time where we have a link transmitting
idle packets without it. Since there is no reason to disable it, we just
enable it at the beginning of link training and then keep it on all the
time.

Cc: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: zain wang <wzz@rock-chips.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-10-enric.balletbo@collabora.com
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c