drm/rockchip: vop: make vop register setting take effect
authorChris Zhong <zyw@rock-chips.com>
Sat, 27 Aug 2016 03:39:38 +0000 (20:39 -0700)
committerMark Yao <mark.yao@rock-chips.com>
Sun, 5 Feb 2017 08:16:07 +0000 (16:16 +0800)
commit17a794d768383527408e23f2a1a04ac64c3d2ba6
tree294ae021062042fcf629737a6249c51d088ef1b2
parent99743ae4c5f52f8f8ceb17783056fcc9b4f8b64c
drm/rockchip: vop: make vop register setting take effect

The setting of vop registers need a reg_done writing to take effect.
In vop_enable the vop return to work by by restoring registers, but the
registers do not take effect immediately, it should a vop_cfg_done
after it. The same thing is needed by windows_disabled in
vop_crtc_disable.

Signed-off-by: Chris Zhong <zyw@rock-chips.com>
drivers/gpu/drm/rockchip/rockchip_drm_vop.c