mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
rk fb: fix dts name for vop big and vop little mmu name
This commit is contained in:
@@ -2889,7 +2889,7 @@ int rk_fb_register(struct rk_lcdc_driver *dev_drv,
|
||||
fbi->pseudo_palette = dev_drv->win[i]->pseudo_pal;
|
||||
if (i == 0){ /* only alloc memory for main fb*/
|
||||
#ifdef CONFIG_ROCKCHIP_IOMMU
|
||||
mmu_dev = rockchip_get_sysmmu_device_by_compatible("iommu,vopl_mmu");
|
||||
mmu_dev = rockchip_get_sysmmu_device_by_compatible(dev_drv->mmu_dts_name);
|
||||
if (mmu_dev) {
|
||||
platform_set_sysmmu(mmu_dev, dev_drv->dev);
|
||||
rockchip_sysmmu_set_fault_handler(dev_drv->dev, rk_fb_sysmmu_fault_handler);
|
||||
|
||||
Reference in New Issue
Block a user