Re: [PATCH v5 6/8] drm/rockchip: Do not use DMA mapping API if attached to IOMMU domain

2016-07-07 Thread Mark yao
-by: Mark Yao Signed-off-by: Tomasz Figa Signed-off-by: Shunqian Zheng --- drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 3 + drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 221 ++-- drivers/gpu/drm/rockchip/rockchip_drm_gem.h | 9 ++ 3 files changed, 222

Re: [PATCH v5 7/8] drm/rockchip: Use common IOMMU API to attach devices

2016-07-07 Thread Mark yao
no need to use DMA API anymore and this patch wires things to use the new method. Signed-off-by: Shunqian Zheng Signed-off-by: Tomasz Figa Looks good for me, and it works on rk3399 board, so Acked-by: Mark Yao --- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 100

Re: iommu/rockchip: Fix bugs and enable on ARM64

2016-07-07 Thread Mark yao
On 2016年06月27日 20:57, Joerg Roedel wrote: On Fri, Jun 24, 2016 at 10:13:25AM +0800, Shunqian Zheng wrote: drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 100 +++-- drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 3 + drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 221 ++

Re: [RFC 3/3] iommu: dma-iommu: use common implementation also on ARM architecture

2016-04-17 Thread Mark yao
. So Tested-by: Mark Yao Thanks. -- Mark Yao ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu

Re: [RFC 0/3] Unify IOMMU-based DMA-mapping code for ARM and ARM64

2016-04-17 Thread Mark yao
Hi Marek With your patches, do drm/rockchip dma-mapping rewrite, IOMMU works good on drm/rockchip ARM64 platform. Thanks for your patches. On 2016年02月19日 16:22, Marek Szyprowski wrote: Dear All, This is an initial RFC on the unification of IOMMU-based DMA-mapping code for ARM and ARM64 arch

Re: [RFC 2/3] iommu: dma-iommu: move IOMMU/DMA-mapping code from ARM64 arch to drivers

2016-04-17 Thread Mark yao
/rockchip ARM64 platform with this patch. So Tested-by: Mark Yao Thanks. -- Mark Yao ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu