Skip to content

Commit 8fa8ccf

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 <wxt@rock-chips.com> Reviewed-on: https://tp-biosrd-v02/gerrit/83773 Reviewed-by: Jamess Huang(黃以民) <Jamess_Huang@asus.com> Tested-by: Jamess Huang(黃以民) <Jamess_Huang@asus.com>
1 parent 80c99c2 commit 8fa8ccf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)