commit | e6d0f4737c468d1889aba06801c490988cf66ad7 | [log] [tgz] |
---|---|---|
author | Simon Xue <xxm@rock-chips.com> | Fri Jun 24 10:13:27 2016 +0800 |
committer | Joerg Roedel <jroedel@suse.de> | Mon Jun 27 14:50:08 2016 +0200 |
tree | d34a08795658657bec9b533fa376e46982bfa9d9 | |
parent | fec3b217ff19978650121103d849b5889b04780a [diff] |
iommu/rockchip: Add map_sg callback for rk_iommu_ops The iommu_dma_alloc() in iommu/dma-iommu.c calls iommu_map_sg() that requires the callback iommu_ops .map_sg(). Adding the default_iommu_map_sg() to Rockchip IOMMU accordingly. Signed-off-by: Simon Xue <xxm@rock-chips.com> Signed-off-by: Shunqian Zheng <xxm@rock-chips.com> Reviewed-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Tomasz Figa <tfiga@chromium.org> Signed-off-by: Joerg Roedel <jroedel@suse.de>