mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
drm/rockchip: vop2: remove afbc disable when close cluster at rk356x
Disable cluster afbc when close cluster is a reasonable operation,
but for some design reasons, this will lead to VOP iommu pagefault at rk356x,
so we keep it always on at rk356x.
Fixes: 8379fd7555 ("drm/rockchip: vop2: add support rk3576")
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I9931da7f45171161b46fb46ab6b8e1e377debab0
This commit is contained in:
@@ -1955,7 +1955,12 @@ static void vop2_win_disable(struct vop2_win *win, bool skip_splice_win)
|
||||
}
|
||||
|
||||
VOP_CLUSTER_SET(vop2, win, enable, 0);
|
||||
VOP_CLUSTER_SET(vop2, win, afbc_enable, 0);
|
||||
/*
|
||||
* If disable AFBC when close cluster will lead to VOP iommu
|
||||
* pagefault at rk356x.
|
||||
*/
|
||||
if (vop2->version != VOP_VERSION_RK3568)
|
||||
VOP_CLUSTER_SET(vop2, win, afbc_enable, 0);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user