drm/rockchip: vop: disable afbdc before close crtc

afbdc should be closed before vop disable, otherwise will
abfdc will access AXI with error address, this will lead to
appear vop post empty or iommu pagefault error.

Change-Id: Ia811d629d12aa7fff8bb26ead4c97cc84b35e9b6
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
This commit is contained in:
Sandy Huang
2019-06-13 21:09:01 +08:00
committed by Tao Huang
parent d4b4a0299c
commit 805e544f53

View File

@@ -1393,6 +1393,7 @@ static void vop_crtc_disable(struct drm_crtc *crtc)
VOP_CTRL_SET(vop, reg_done_frm, 1);
VOP_CTRL_SET(vop, dsp_interlace, 0);
drm_crtc_vblank_off(crtc);
VOP_CTRL_SET(vop, afbdc_en, 0);
vop_disable_all_planes(vop);
/*