drm/rockchip: protect connector status with loader protect
authorMark Yao <mark.yao@rock-chips.com>
Fri, 31 Mar 2017 07:20:07 +0000 (15:20 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Sat, 1 Apr 2017 10:12:12 +0000 (18:12 +0800)
commite0881ef2dc3694b0cf2c5207dd92c4c8e7305214
tree990ef0a2d224de3b9073702aeccd377a3a9aeba0
parenteaef6c723fa503bb6438151aa565df487b40a88d
drm/rockchip: protect connector status with loader protect

In order to keep display not flash, we cheat all connectors status
as power on, but actually the connector's driver think it's off.

So when power off connector, we need correct connector's status first.

Change-Id: I9fa09d184197c71220d33666564876fc3b1212a7
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
drivers/gpu/drm/drm_atomic_helper.c
drivers/gpu/drm/rockchip/rockchip_drm_drv.c