aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_fimd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
index 8d362b9365d3..337af025a594 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
@@ -956,7 +956,8 @@ static int fimd_bind(struct device *dev, struct device *master, void *data)
956 if (ctx->display) 956 if (ctx->display)
957 exynos_drm_create_enc_conn(drm_dev, ctx->display); 957 exynos_drm_create_enc_conn(drm_dev, ctx->display);
958 958
959 fimd_clear_channels(ctx->crtc); 959 if (is_drm_iommu_supported(drm_dev))
960 fimd_clear_channels(ctx->crtc);
960 961
961 ret = drm_iommu_attach_device(drm_dev, dev); 962 ret = drm_iommu_attach_device(drm_dev, dev);
962 if (ret) 963 if (ret)