drm/bridge: analogix_dp: Wait for HPD signal before configuring link
authorzain wang <wzz@rock-chips.com>
Mon, 23 Apr 2018 10:49:41 +0000 (12:49 +0200)
committerAndrzej Hajda <a.hajda@samsung.com>
Tue, 24 Apr 2018 06:34:33 +0000 (08:34 +0200)
commit7f6414143a61f9eb369c90ef0550c9ef8e603d57
tree8b54d5660b6ba88d1e2916ce2e2146dfaba6afc3
parent8a335736f94edc9c8c977d931301e6a0326fbc3e
drm/bridge: analogix_dp: Wait for HPD signal before configuring link

According to DP spec v1.3 chap 3.5.1.2 Link Training, Link Policy Maker
must first detect that the HPD signal is asserted high by the Downstream
Device before establishing a link with it.

Cc: Stéphane Marchesin <marcheu@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>
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-6-enric.balletbo@collabora.com
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c