mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
drm/rockchip: vop2: Default use rkiommu 1.0 for axi0 on rk3576
Signed-off-by: Sandy Huang <hjc@rock-chips.com> Change-Id: I255d20d05e17e58ca44b687ef9672f11830b1f31
This commit is contained in:
@@ -4161,8 +4161,8 @@ static void vop2_initial(struct drm_crtc *crtc)
|
||||
vop2_mask_write(vop2, 0x700, 0x3, 4, 0, 0, true);
|
||||
|
||||
if (vop2->version == VOP_VERSION_RK3576) {
|
||||
/* Default use rkiommu 2.0 for axi0 */
|
||||
VOP_CTRL_SET(vop2, rkmmu_v2_en, 1);
|
||||
/* Default use rkiommu 1.0 for axi0 */
|
||||
VOP_CTRL_SET(vop2, rkmmu_v2_en, 0);
|
||||
|
||||
/* Init frc2.0 config */
|
||||
vop2_writel(vop2, 0xca0, 0xc8);
|
||||
|
||||
Reference in New Issue
Block a user