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

Andrzej Hajda a.hajda at samsung.com
Tue Nov 27 14:36:58 UTC 2018


On 12.10.2018 12:53, Andrzej Hajda wrote:
> 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.


Ping

Regards

Andrzej



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



More information about the dri-devel mailing list