All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Exynos DRM: add support for ARM 64bit arch with IOMMU
@ 2016-06-17  7:54 Marek Szyprowski
  2016-06-17  7:54 ` [PATCH v2 1/5] drm/exynos: iommu: move dma_params configuration code to separate functions Marek Szyprowski
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Marek Szyprowski @ 2016-06-17  7:54 UTC (permalink / raw)
  To: dri-devel, linux-samsung-soc
  Cc: Marek Szyprowski, Inki Dae, Joonyoung Shim, Seung-Woo Kim,
	Andrzej Hajda, Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz

Hello,

This patch series reworks IOMMU integration code to add support for ARM
64bit architecture with DMA-IOMMU glue code. Current inplementation uses
conditional code (hidden in the exynos_drm_iommu.h file) because ARM
32bit and 64bit are not compatible in the area of DMA-mapping and IOMMU
glue code. Once both architectures are unified, the conditional code can
be removed, but for now it lets one to use Exynos DRM on both
architectures.

Best regards
Marek Szyprowski
Samsung R&D Institute Poland

Changelog:
v2:
- simplified ifdefs in exynos_drm_iommu.h, so when ARM32 bit will be converted
  to the generic IOMMU-DMA glue code, no changes will be needed to use generic
  code

v1:
- initial version

Patch summary:

Marek Szyprowski (5):
  drm/exynos: iommu: move dma_params configuration code to separate
    functions
  drm/exynos: iommu: add a check if all sub-devices have iommu
    controller
  drm/exynos: iommu: remove unused entries from exynos_drm_private
    strcuture
  drm/exynos: iommu: move ARM specific code to exynos_drm_iommu.h
  drm/exynos: iommu: add support for ARM64 specific code for IOMMU glue

 drivers/gpu/drm/exynos/Kconfig            |  2 +-
 drivers/gpu/drm/exynos/exynos_drm_drv.c   |  7 +--
 drivers/gpu/drm/exynos/exynos_drm_drv.h   |  2 -
 drivers/gpu/drm/exynos/exynos_drm_iommu.c | 77 +++++++++++---------------
 drivers/gpu/drm/exynos/exynos_drm_iommu.h | 91 +++++++++++++++++++++++++++++++
 5 files changed, 126 insertions(+), 53 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-07-08  8:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-17  7:54 [PATCH v2 0/5] Exynos DRM: add support for ARM 64bit arch with IOMMU Marek Szyprowski
2016-06-17  7:54 ` [PATCH v2 1/5] drm/exynos: iommu: move dma_params configuration code to separate functions Marek Szyprowski
2016-07-08  8:15   ` Inki Dae
2016-06-17  7:54 ` [PATCH v2 2/5] drm/exynos: iommu: add a check if all sub-devices have iommu controller Marek Szyprowski
2016-06-17  7:54 ` [PATCH v2 3/5] drm/exynos: iommu: remove unused entries from exynos_drm_private strcuture Marek Szyprowski
2016-06-17  7:54 ` [PATCH v2 4/5] drm/exynos: iommu: move ARM specific code to exynos_drm_iommu.h Marek Szyprowski
2016-06-17  7:54 ` [PATCH v2 5/5] drm/exynos: iommu: add support for ARM64 specific code for IOMMU glue Marek Szyprowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.