]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/rockchip: Use common IOMMU API to attach devices
authorShunqian Zheng <zhengsq@rock-chips.com>
Fri, 24 Jun 2016 02:13:32 +0000 (10:13 +0800)
committerMark Yao <mark.yao@rock-chips.com>
Wed, 15 Feb 2017 00:52:13 +0000 (08:52 +0800)
commit1aa5ca6e3ec63aa5815d78646748e88a7ceb1c8e
tree51cbbeb3eefd0be40581fd7e27366e3a3ae63b5a
parent38f993b7c59e261b8ff7deb66c96c7dff4017f7b
drm/rockchip: Use common IOMMU API to attach devices

Rockchip DRM used the arm special API, arm_iommu_*(), to attach
iommu for ARM32 SoCs. This patch convert to common iommu API
so it would support ARM64 like RK3399.

Since previous patch added support for direct IOMMU address space
management, there is no need to use DMA API anymore and this patch wires
things to use the new method.

Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
Signed-off-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
drivers/gpu/drm/rockchip/rockchip_drm_drv.c