]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9096b160fd29b38c5df449098e3341b4f540e0b9
tree8106f46118df1c802ce8d06dda0085a93950ed04
parentd826e1a6cc62337df3e6e006318f0fce4c463a94
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