Skip to content

Commit

Permalink
drm/rockchip: vop: the display be turn off when wakeup
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Caesar-github authored and jamess-huang committed Oct 3, 2018
1 parent 2ecfd9f commit 1453937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/rockchip/rockchip_drm_vop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1453937

Please sign in to comment.