Searched refs:subdrv_dev (Results 1 – 1 of 1) sorted by relevance
61 struct device *subdrv_dev) in drm_iommu_attach_device() argument66 if (get_dma_ops(priv->dma_dev) != get_dma_ops(subdrv_dev)) { in drm_iommu_attach_device()67 DRM_DEV_ERROR(subdrv_dev, "Device %s lacks support for IOMMU\n", in drm_iommu_attach_device()68 dev_name(subdrv_dev)); in drm_iommu_attach_device()72 ret = configure_dma_max_seg_size(subdrv_dev); in drm_iommu_attach_device()77 if (to_dma_iommu_mapping(subdrv_dev)) in drm_iommu_attach_device()78 arm_iommu_detach_device(subdrv_dev); in drm_iommu_attach_device()80 ret = arm_iommu_attach_device(subdrv_dev, priv->mapping); in drm_iommu_attach_device()82 ret = iommu_attach_device(priv->mapping, subdrv_dev); in drm_iommu_attach_device()86 clear_dma_max_seg_size(subdrv_dev); in drm_iommu_attach_device()[all …]