Home
last modified time | relevance | path

Searched refs:subdrv_dev (Results 1 – 1 of 1) sorted by relevance

/drivers/gpu/drm/exynos/
Dexynos_drm_dma.c44 struct device *subdrv_dev, void **dma_priv) in drm_iommu_attach_device() argument
49 if (get_dma_ops(priv->dma_dev) != get_dma_ops(subdrv_dev)) { in drm_iommu_attach_device()
50 DRM_DEV_ERROR(subdrv_dev, "Device %s lacks support for IOMMU\n", in drm_iommu_attach_device()
51 dev_name(subdrv_dev)); in drm_iommu_attach_device()
55 dma_set_max_seg_size(subdrv_dev, DMA_BIT_MASK(32)); in drm_iommu_attach_device()
63 *dma_priv = to_dma_iommu_mapping(subdrv_dev); in drm_iommu_attach_device()
65 arm_iommu_detach_device(subdrv_dev); in drm_iommu_attach_device()
67 ret = arm_iommu_attach_device(subdrv_dev, priv->mapping); in drm_iommu_attach_device()
69 ret = iommu_attach_device(priv->mapping, subdrv_dev); in drm_iommu_attach_device()
85 struct device *subdrv_dev, void **dma_priv) in drm_iommu_detach_device() argument
[all …]