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