|
@@ -48,13 +48,8 @@ int drm_create_iommu_mapping(struct drm_device *drm_dev)
|
|
|
struct dma_iommu_mapping *mapping = NULL;
|
|
|
struct exynos_drm_private *priv = drm_dev->dev_private;
|
|
|
|
|
|
- if (!priv->da_start)
|
|
|
- priv->da_start = EXYNOS_DEV_ADDR_START;
|
|
|
- if (!priv->da_space_size)
|
|
|
- priv->da_space_size = EXYNOS_DEV_ADDR_SIZE;
|
|
|
-
|
|
|
- mapping = arm_iommu_create_mapping(&platform_bus_type, priv->da_start,
|
|
|
- priv->da_space_size);
|
|
|
+ mapping = arm_iommu_create_mapping(&platform_bus_type,
|
|
|
+ EXYNOS_DEV_ADDR_START, EXYNOS_DEV_ADDR_SIZE);
|
|
|
|
|
|
if (IS_ERR(mapping))
|
|
|
return PTR_ERR(mapping);
|