drm/bridge: analogix_dp: add fast link train for eDP
authorzain wang <wzz@rock-chips.com>
Fri, 9 Mar 2018 22:22:56 +0000 (23:22 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 14 Mar 2018 10:29:31 +0000 (11:29 +0100)
commitf9d5680596f2dac390918e6aec3e174db03633a3
treeee79a0fc883d9c4a537c9be8cb0a5a003ed7e88a
parent243e398aab8dc0ba966dbcfef189b5a616e74a78
drm/bridge: analogix_dp: add fast link train for eDP

We would meet a short black screen when exit PSR with the full link
training, In this case, we should use fast link train instead of full
link training.

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>
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>
[dropped header reordering]
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20180309222327.18689-6-enric.balletbo@collabora.com
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
drivers/gpu/drm/bridge/analogix/analogix_dp_core.h