/* exynos_drm_iommu.h * * Copyright (c) 2012 Samsung Electronics Co., Ltd. * Authoer: Inki Dae <inki.dae@samsung.com> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. */ #ifndef _EXYNOS_DRM_IOMMU_H_ #define _EXYNOS_DRM_IOMMU_H_ #define EXYNOS_DEV_ADDR_START 0x20000000 #define EXYNOS_DEV_ADDR_SIZE 0x40000000 #ifdef CONFIG_DRM_EXYNOS_IOMMU int drm_create_iommu_mapping(struct drm_device *drm_dev); void drm_release_iommu_mapping(struct drm_device *drm_dev); int drm_iommu_attach_device(struct drm_device *drm_dev, struct device *subdrv_dev); void drm_iommu_detach_device(struct drm_device *dev_dev, struct device *subdrv_dev);
static inline bool is_drm_iommu_supported(struct drm_device *drm_dev) { struct exynos_drm_private *priv = drm_dev->dev_private; return priv->mapping ? true : false; }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
inki dae | inki dae | 26 | 86.67% | 1 | 50.00% |
marek szyprowski | marek szyprowski | 4 | 13.33% | 1 | 50.00% |
Total | 30 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
inki dae | inki dae | 15 | 100.00% | 1 | 100.00% |
Total | 15 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
inki dae | inki dae | 11 | 100.00% | 1 | 100.00% |
Total | 11 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
inki dae | inki dae | 20 | 100.00% | 1 | 100.00% |
Total | 20 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
inki dae | inki dae | 16 | 100.00% | 1 | 100.00% |
Total | 16 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
inki dae | inki dae | 15 | 100.00% | 1 | 100.00% |
Total | 15 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
inki dae | inki dae | 173 | 97.74% | 2 | 66.67% |
marek szyprowski | marek szyprowski | 4 | 2.26% | 1 | 33.33% |
Total | 177 | 100.00% | 3 | 100.00% |