vpu/hevc share the same ahb, when switch vpu and hevc,may cause
iommu error,to avoid this error,skip invalidate iommu tlb when iovmm_map
Signed-off-by: Simon <xxm@rock-chips.com>
unsigned long flags;
struct iommu_drvdata *data = dev_get_drvdata(dev->archdata.iommu);
+ if (strstr(data->dbgname, "vpu") || strstr(data->dbgname, "hevc"))
+ return 0;
+
spin_lock_irqsave(&data->data_lock, flags);
if (rockchip_is_iommu_active(data)) {