From 1453937a9c78af9927068ae649e8cfb19b0cf7c2 Mon Sep 17 00:00:00 2001 From: Caesar Wang Date: Sat, 16 Jun 2018 11:04:25 +0800 Subject: [PATCH] drm/rockchip: vop: the display be turn off when wakeup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://tp-biosrd-v02/gerrit/83773 Reviewed-by: Jamess Huang(黃以民) Tested-by: Jamess Huang(黃以民) (cherry picked from commit 8fa8ccfa07390abe45b66df5eb0fb898657d9154) Reviewed-on: https://tp-biosrd-v02/gerrit/83774 --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c index 730f4c33c506..2c738b0ddf15 100755 --- a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c @@ -3346,7 +3346,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)