Skip to content
Commit 1aa5ca6e authored by Shunqian Zheng's avatar Shunqian Zheng Committed by Mark Yao
Browse files

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: default avatarShunqian Zheng <zhengsq@rock-chips.com>
Signed-off-by: default avatarTomasz Figa <tfiga@chromium.org>
Signed-off-by: default avatarMark Yao <mark.yao@rock-chips.com>
parent 38f993b7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment