summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen-Yu Tsai <wenst@chromium.org>2026-03-26 12:30:38 +0300
committerInki Dae <inki.dae@samsung.com>2026-05-21 16:47:23 +0300
commit5633d4402ce140bbc6f5e3f7f75f9f7fc0cd6923 (patch)
treec8f3742a914121217bcee789482a9e92bbc9da7f
parent0867757f1eec0a246c70b2407a1bbed949170821 (diff)
downloadlinux-5633d4402ce140bbc6f5e3f7f75f9f7fc0cd6923.tar.xz
drm/exynos/dma: Drop iommu_dma_init_domain() stub
Commit 1feda5eb77fc ("drm/exynos: Use selected dma_dev default iommu domain instead of a fake one") removed the code around creating a custom IOMMU domain, but forgot to remove the stub. Remove the iommu_dma_init_domain() stub as the function is no longer referenced, and was also made private to the IOMMU DMA code. Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Acked-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_dma.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_dma.c b/drivers/gpu/drm/exynos/exynos_drm_dma.c
index bde2b86a7a7d..734741c80cbe 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_dma.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_dma.c
@@ -24,10 +24,6 @@
#define to_dma_iommu_mapping(dev) NULL
#endif
-#if !defined(CONFIG_IOMMU_DMA)
-#define iommu_dma_init_domain(...) ({ -EINVAL; })
-#endif
-
#define EXYNOS_DEV_ADDR_START 0x20000000
#define EXYNOS_DEV_ADDR_SIZE 0x40000000