mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user