drm/rockchip: vop: power off until vop standby take effect
authorMark Yao <mark.yao@rock-chips.com>
Wed, 4 Feb 2015 05:10:31 +0000 (13:10 +0800)
committerMark Yao <mark.yao@rock-chips.com>
Mon, 16 Mar 2015 05:50:57 +0000 (13:50 +0800)
commit1067219b27e29e925e7bdbb85b72c4c2bec0267e
tree430c815856edad28881382ae06cbe655d05a0953
parent52ab7891fb8e45bda6015da8b5ac82ad600355e3
drm/rockchip: vop: power off until vop standby take effect

Vop standby will take effect at end of current frame,
if dsp_hold_valid_irq happen, it means vop standby complete.

we must wait standby complete when we want to disable aclk,
if not, memory bus maybe dead.

Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
drivers/gpu/drm/rockchip/rockchip_drm_vop.c