* [PATCH] drm/exynos/dma: Drop iommu_dma_init_domain() stub @ 2026-03-26 9:30 ` Chen-Yu Tsai 2026-03-30 7:51 ` Marek Szyprowski 0 siblings, 1 reply; 2+ messages in thread From: Chen-Yu Tsai @ 2026-03-26 9:30 UTC (permalink / raw) To: Inki Dae, Seung-Woo Kim, Kyungmin Park, Krzysztof Kozlowski, Alim Akhtar Cc: Chen-Yu Tsai, David Airlie, Simona Vetter, dri-devel, linux-samsung-soc, linux-arm-kernel, linux-kernel 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> --- drivers/gpu/drm/exynos/exynos_drm_dma.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dma.c b/drivers/gpu/drm/exynos/exynos_drm_dma.c index 6a6761935224..ccc6b852ee7d 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dma.c +++ b/drivers/gpu/drm/exynos/exynos_drm_dma.c @@ -23,10 +23,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 -- 2.53.0.1018.g2bb0e51243-goog ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/exynos/dma: Drop iommu_dma_init_domain() stub 2026-03-26 9:30 ` [PATCH] drm/exynos/dma: Drop iommu_dma_init_domain() stub Chen-Yu Tsai @ 2026-03-30 7:51 ` Marek Szyprowski 0 siblings, 0 replies; 2+ messages in thread From: Marek Szyprowski @ 2026-03-30 7:51 UTC (permalink / raw) To: Chen-Yu Tsai, Inki Dae, Seung-Woo Kim, Kyungmin Park, Krzysztof Kozlowski, Alim Akhtar Cc: David Airlie, Simona Vetter, dri-devel, linux-samsung-soc, linux-arm-kernel, linux-kernel On 26.03.2026 10:30, Chen-Yu Tsai wrote: > 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> > --- > drivers/gpu/drm/exynos/exynos_drm_dma.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/drivers/gpu/drm/exynos/exynos_drm_dma.c b/drivers/gpu/drm/exynos/exynos_drm_dma.c > index 6a6761935224..ccc6b852ee7d 100644 > --- a/drivers/gpu/drm/exynos/exynos_drm_dma.c > +++ b/drivers/gpu/drm/exynos/exynos_drm_dma.c > @@ -23,10 +23,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 > Best regards -- Marek Szyprowski, PhD Samsung R&D Institute Poland ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-30 7:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CGME20260326093817eucas1p24174d4b0d25c7966172c08e305fa8882@eucas1p2.samsung.com>
2026-03-26 9:30 ` [PATCH] drm/exynos/dma: Drop iommu_dma_init_domain() stub Chen-Yu Tsai
2026-03-30 7:51 ` Marek Szyprowski
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®