drm/rockchip: vop: the display be turn off when wakeup

As the vop will turn off the all planes when the system wakeup, that can
avoid the splash screen issues.

But the normal display will be show util the
application is refreshed. That's clearly not sensible.

For now, we can stop dma for turning off vop data.

Change-Id: Ieff151bee7813b978bc3cb65f0457e37dc20bf2c
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
This commit is contained in:
Caesar Wang
2018-06-16 11:04:25 +08:00
committed by Tao Huang
parent ae2cb0019b
commit 403e528a22

View File

@@ -3337,7 +3337,7 @@ static void vop_crtc_atomic_flush(struct drm_crtc *crtc,
int ret;
if (vop->mode_update)
vop_disable_all_planes(vop);
VOP_CTRL_SET(vop, dma_stop, 1);
need_wait_vblank = !vop_is_allwin_disabled(vop);
if (vop->mode_update && need_wait_vblank)