rk fb: if uboot-logo-on set 1, open iommu when iommu en

Signed-off-by: hjc <hjc@rock-chips.com>
This commit is contained in:
hjc
2015-02-26 18:27:40 +08:00
parent b8552676c1
commit ad5ae97486

View File

@@ -3810,6 +3810,12 @@ int rk_fb_register(struct rk_lcdc_driver *dev_drv,
freed_index = 0;
}
return 0;
} else {
if (dev_drv->iommu_enabled) {
if (dev_drv->ops->mmu_en)
dev_drv->ops->mmu_en(dev_drv);
freed_index = 0;
}
}
#if defined(CONFIG_LOGO)
main_fbi->fbops->fb_set_par(main_fbi);