[PATCH 8/8] etnaviv: remove IOMMU dependency
Wladimir J. van der Laan
laanwj at gmail.com
Wed Sep 27 11:39:39 UTC 2017
On Fri, Sep 15, 2017 at 07:04:39PM +0200, Lucas Stach wrote:
> Using the IOMMU API to manage the internal GPU MMU has been an
> historical accident and it keeps getting in the way, as well as
> entangling the driver with the inner workings of the IOMMU
> subsystem.
>
> Clean this up by removing the usage of iommu_domain, which is the
> last piece linking etnaviv to the IOMMU subsystem.
>
> Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
Reviewed-by: Wladimir J. van der Laan <laanwj at gmail.com>
> ---
> drivers/gpu/drm/etnaviv/Kconfig | 2 -
> drivers/gpu/drm/etnaviv/etnaviv_drv.h | 1 -
> drivers/gpu/drm/etnaviv/etnaviv_iommu.c | 71 +++++++++++++++---------------
> drivers/gpu/drm/etnaviv/etnaviv_iommu.h | 6 ++-
> drivers/gpu/drm/etnaviv/etnaviv_iommu_v2.c | 55 +++++++++++------------
> drivers/gpu/drm/etnaviv/etnaviv_mmu.c | 38 +++++++---------
> drivers/gpu/drm/etnaviv/etnaviv_mmu.h | 20 ++++++---
> 7 files changed, 93 insertions(+), 100 deletions(-)
>
More information about the etnaviv
mailing list