rockchip: rk3399: check vop status when we wait dma finish flag
When vop is disabled and we read the vop register the system will
hang, so check vop status when we wait for the DMA finish flag to
avoid this sitiuation. This is done by checking for standby, DMA stop
mode, and disabled window states. Any one of these will prevent the
DMA finish flag from triggering.

Signed-off-by: Lin Huang <hl@rock-chips.com>
Signed-off-by: Derek Basehore <dbasehore@chromium.org>
1 parent 95c3f42 commit a82ec8145961e57d19cdb71ad9823fd99f7f7c53
@Lin Huang Lin Huang authored on 1 Dec 2016
Xing Zheng committed on 24 Feb 2017
Showing 1 changed file
View
plat/rockchip/rk3399/drivers/m0/src/dram.c