]> git.baikalelectronics.ru Git - kernel.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)
commite2182fbb7ee73bfe5569002c4a8d4c28f517c4e3
tree51cbbeb3eefd0be40581fd7e27366e3a3ae63b5a
parent5a1eaee0e93b2af2afd78d607ff271816fe392ca
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