We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 047ae66 commit e2a88eaCopy full SHA for e2a88ea
drivers/gpu/drm/msm/msm_drv.c
@@ -274,7 +274,7 @@ bool msm_use_mmu(struct drm_device *dev)
274
struct msm_drm_private *priv = dev->dev_private;
275
276
/* a2xx comes with its own MMU */
277
- return priv->is_a2xx || iommu_present(&platform_bus_type);
+ return priv->is_a2xx || device_iommu_mapped(dev->dev);
278
}
279
280
static int msm_init_vram(struct drm_device *dev)
0 commit comments