[PATCH 0/6] drm/exynos/iommu: refactoring

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

 



Hi Inki,

This patchset refactors IOMMU/DMA code in ExynosDRM driver.
It performs several changes:
- provides simple/clean API for ExynosDRM drivers,
- moves IOMMU related code from drivers to single file,
- minimizes preprocessor magic,
- decreases line count by 100.

The patchset includes patch which was posted already few days ago.

Regards
Andrzej


Andrzej Hajda (6):
  drm/exynos: simplify DMA mapping
  drm/exynos/iommu: remove DRM_EXYNOS_IOMMU Kconfig symbol
  drm/exynos/iommu: integrate IOMMU/DMA internal API
  drm/exynos/iommu: move IOMMU specific stuff into exynos_drm_iommu.c
  drm/exynos/iommu: replace preprocessor conditionals with C
    conditionals
  drm/exynos/iommu: merge IOMMU and DMA code

 drivers/gpu/drm/exynos/Kconfig                |   5 -
 drivers/gpu/drm/exynos/Makefile               |   3 +-
 drivers/gpu/drm/exynos/exynos5433_drm_decon.c |   5 +-
 drivers/gpu/drm/exynos/exynos7_drm_decon.c    |   5 +-
 drivers/gpu/drm/exynos/exynos_drm_dma.c       | 215 ++++++++++++++++++
 drivers/gpu/drm/exynos/exynos_drm_drv.c       |  55 +----
 drivers/gpu/drm/exynos/exynos_drm_drv.h       |  11 +
 drivers/gpu/drm/exynos/exynos_drm_fb.c        |   1 -
 drivers/gpu/drm/exynos/exynos_drm_fbdev.c     |   1 -
 drivers/gpu/drm/exynos/exynos_drm_fimc.c      |   5 +-
 drivers/gpu/drm/exynos/exynos_drm_fimd.c      |   5 +-
 drivers/gpu/drm/exynos/exynos_drm_g2d.c       |   5 +-
 drivers/gpu/drm/exynos/exynos_drm_gem.c       |   1 -
 drivers/gpu/drm/exynos/exynos_drm_gsc.c       |   5 +-
 drivers/gpu/drm/exynos/exynos_drm_iommu.c     | 111 ---------
 drivers/gpu/drm/exynos/exynos_drm_iommu.h     | 156 -------------
 drivers/gpu/drm/exynos/exynos_drm_rotator.c   |   5 +-
 drivers/gpu/drm/exynos/exynos_drm_scaler.c    |   5 +-
 drivers/gpu/drm/exynos/exynos_mixer.c         |   5 +-
 19 files changed, 252 insertions(+), 352 deletions(-)
 create mode 100644 drivers/gpu/drm/exynos/exynos_drm_dma.c
 delete mode 100644 drivers/gpu/drm/exynos/exynos_drm_iommu.c
 delete mode 100644 drivers/gpu/drm/exynos/exynos_drm_iommu.h

-- 
2.18.0




[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