From: hjc Date: Wed, 30 Apr 2014 01:42:50 +0000 (+0800) Subject: Revert "rk fb: fix dts name for vop big and vop little mmu name" X-Git-Tag: firefly_0821_release~5403 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e5c994034064b4d83dbd89488ab67a30f752391a;p=firefly-linux-kernel-4.4.55.git Revert "rk fb: fix dts name for vop big and vop little mmu name" This reverts commit fc4c39bc30ebca57738fad47880fdb35c5ca1926. --- diff --git a/drivers/video/rockchip/rk_fb.c b/drivers/video/rockchip/rk_fb.c index 5d4d7ebf58f1..d0cc4582400d 100755 --- a/drivers/video/rockchip/rk_fb.c +++ b/drivers/video/rockchip/rk_fb.c @@ -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(dev_drv->mmu_dts_name); + mmu_dev = rockchip_get_sysmmu_device_by_compatible("iommu,vopl_mmu"); if (mmu_dev) { platform_set_sysmmu(mmu_dev, dev_drv->dev); rockchip_sysmmu_set_fault_handler(dev_drv->dev, rk_fb_sysmmu_fault_handler);