]> 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)
commit67e4917775ee896696b21d6644153d6c4738c5c9
tree51cbbeb3eefd0be40581fd7e27366e3a3ae63b5a
parente475c62126d2f0006fcf8584cbe4819a90c17180
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