drm/rockchip: Resume DP early
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Mon, 6 Jun 2016 14:53:33 +0000 (16:53 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 Jun 2016 15:13:24 +0000 (17:13 +0200)
commitfe64ba5c6323538ef0a74c7213fe5e18117b1c85
tree8106f46118df1c802ce8d06dda0085a93950ed04
parent5a5873830972e7d8983dd205b3686f728047d556
drm/rockchip: Resume DP early

The DP needs to have resumed once the DRM driver calls
drm_atomic_helper_resume, otherwise the DP clock is still disabled when
the DRM core enables the DP bridge.

Would be nice to use device_pm_wait_for_dev to synchronize these
devices, but the DRM device doesn't know what specific implementation
this bridge has.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Cc: Caesar Wang <wxt@rock-chips.com>
Cc: Douglas Anderson <dianders@chromium.org>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Yakir Yang <ykk@rock-chips.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1465224813-7359-2-git-send-email-tomeu.vizoso@collabora.com
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c