[PATCH 3/5] iommu/rockchip: add sanity check for virtual device

2016-05-22 Thread Shunqian Zheng
From: Simon We mark DRM as "virtual" device by checking it's group, which may no longer true with the new rockchip drm drv in https://patchwork.kernel.org/patch/8876331/. Checking the group->iommu_data for virtual device. Signed-off-by: Simon ---

[PATCH 3/5] iommu/rockchip: add sanity check for virtual device

2016-05-22 Thread Shunqian Zheng
From: Simon We mark DRM as "virtual" device by checking it's group, which may no longer true with the new rockchip drm drv in https://patchwork.kernel.org/patch/8876331/. Checking the group->iommu_data for virtual device. Signed-off-by: Simon --- drivers/iommu/rockchip-iommu.c | 7 ++- 1