Skip to content

drm/exynos/iommu: refactoring

Andrzej Hajda dri-devel linux-samsung-soc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 3 repliesIn review

Changes from the cover letter

v2: resend of v1 rebased on next with EXYNOS DRM IOMMU changes posted by Marek.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm/exynos: simplify DMA mappingdrivers/gpu/drm/exynos/exynos5433_drm_decon.c drivers/gpu/drm/exynos/exynos7_drm_decon.c drivers/gpu/drm/exynos/exynos_drm_drv.c +8 more+37 -540 replies
2/6drm/exynos/iommu: remove DRM_EXYNOS_IOMMU Kconfig symboldrivers/gpu/drm/exynos/Kconfig drivers/gpu/drm/exynos/Makefile drivers/gpu/drm/exynos/exynos_drm_iommu.h+2 -70 replies
3/6drm/exynos/iommu: integrate IOMMU/DMA internal APIdrivers/gpu/drm/exynos/Makefile drivers/gpu/drm/exynos/exynos5433_drm_decon.c drivers/gpu/drm/exynos/exynos7_drm_decon.c +14 more+61 -580 replies
4/6drm/exynos/iommu: move IOMMU specific stuff into exynos_drm_iommu.cdrivers/gpu/drm/exynos/exynos_drm_iommu.c drivers/gpu/drm/exynos/exynos_drm_iommu.h+72 -720 replies
5/6drm/exynos/iommu: replace preprocessor conditionals with C conditionalsdrivers/gpu/drm/exynos/exynos_drm_iommu.c+36 -720 replies
6/6drm/exynos/iommu: merge IOMMU and DMA codedrivers/gpu/drm/exynos/Makefile drivers/gpu/drm/exynos/exynos_drm_dma.c drivers/gpu/drm/exynos/exynos_drm_iommu.c +1 more+128 -2090 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

Hi Inki,

Changes:
v2: resend of v1 rebased on next with EXYNOS DRM IOMMU changes posted by Marek.

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 136.

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       | 157 ++++++++++++++++++
 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     | 134 ---------------
 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, 194 insertions(+), 330 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
Signature · 6 lines
2.18.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel