drm/rockchip: rewrite IOMMU support code
authorMark Yao <mark.yao@rock-chips.com>
Fri, 18 Mar 2016 03:44:01 +0000 (11:44 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 31 Mar 2016 02:50:03 +0000 (10:50 +0800)
commitb435f1a281e8a9ff1f1013318a1147949e55130a
tree992ee84036b1f68c49b25259ff8122fadbd207fe
parent8323c6e6b89b5565c05ddf0067589cf785be661b
drm/rockchip: rewrite IOMMU support code

This patch is learn from Marek Szyprowski's patch:
  (drm/exynos: rewrite IOMMU support code)

The patch replaces usage of ARM-specific IOMMU/DMA-mapping related calls
with new generic code for managing DMA-IOMMU integration layer. It also
removes all the hacks, which were needed to configure common DMA/IO address
space on the virtual rockchip-drm device.

Change-Id: I5d2b90002bf135a72ce30cc8503a7d06769835f3
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
drivers/gpu/drm/rockchip/Kconfig
drivers/gpu/drm/rockchip/rockchip_drm_drv.c
drivers/gpu/drm/rockchip/rockchip_drm_drv.h