[PATCH v2 0/5] Exynos DRM: add support for ARM 64bit arch with IOMMU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux