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@xxxxxxxxxxxxxx> Reviewed-by: Wladimir J. van der Laan <laanwj@xxxxxxxxx> > --- > 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(-) > _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel