Skip to content

Commit 1453937

Browse files
Caesar-githubjamess-huang
authored andcommitted
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 <[email protected]> Reviewed-on: https://tp-biosrd-v02/gerrit/83773 Reviewed-by: Jamess Huang(黃以民) <[email protected]> Tested-by: Jamess Huang(黃以民) <[email protected]> (cherry picked from commit 8fa8ccf) Reviewed-on: https://tp-biosrd-v02/gerrit/83774
1 parent 2ecfd9f commit 1453937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/rockchip/rockchip_drm_vop.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3346,7 +3346,7 @@ static void vop_crtc_atomic_flush(struct drm_crtc *crtc,
33463346
int ret;
33473347

33483348
if (vop->mode_update)
3349-
vop_disable_all_planes(vop);
3349+
VOP_CTRL_SET(vop, dma_stop, 1);
33503350

33513351
need_wait_vblank = !vop_is_allwin_disabled(vop);
33523352
if (vop->mode_update && need_wait_vblank)

0 commit comments

Comments
 (0)