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