FROMLIST: 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)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 21 Mar 2016 11:44:10 +0000 (19:44 +0800)
commit6d4a28cf6f04ef3722b65afe39595c7425eb9be6
tree249f07b186d1051d622223c09f2ba8e3d1f8fc43
parentfeb68d83c21a1428d7a99551ea140136febfcdc3
FROMLIST: 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.

(am from https://patchwork.kernel.org/patch/8312901/)

Change-Id: I0ed1be541210f85883477f1b2a88bd8d57e390d6
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