]> git.baikalelectronics.ru Git - kernel.git/commit
drm: bridge: analogix/dp: move hpd detect to connector detect function
authorYakir Yang <ykk@rock-chips.com>
Mon, 15 Feb 2016 11:11:20 +0000 (19:11 +0800)
committerYakir Yang <ykk@rock-chips.com>
Tue, 5 Apr 2016 02:13:08 +0000 (10:13 +0800)
commitfe7b22f4479659a164633393f901df0abf769918
treebfc2611016a499d1489529bcd6e26dc6b05a6a0d
parent22902e4d1189a9e5154bef2501d87d9bd43eb9a3
drm: bridge: analogix/dp: move hpd detect to connector detect function

This change just make a little clean to make code more like
drm core expect, move hdp detect code from bridge->enable(),
and place them into connector->detect().

Note: Gustavo Padovan try to remove the controller and phy
power on function in bind time at bellow commit:
drm/exynos: do not start enabling DP at bind() phase

But for now the connector status don't hardcode to connected,
need to operate dp phy in .detect function, so we need to revert
parts if Gustavo Padovan's changes, add phy poweron
function in bind time.

Tested-by: Caesar Wang <wxt@rock-chips.com>
Tested-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c