mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 14:21:47 +00:00
0519f9a12d
Changelog v4: - fix condition to drm_iommu_detach_device funtion. Changelog v3: - add dma_parms->max_segment_size setting of drm_device->dev. - use devm_kzalloc instead of kzalloc. Changelog v2: - fix iommu attach condition. . check archdata.dma_ops of drm device instead of subdrv device's one. - code clean to exynos_drm_iommu.c file. . remove '#ifdef CONFIG_ARM_DMA_USE_IOMMU' from exynos_drm_iommu.c and add it to driver/gpu/drm/exynos/Kconfig. Changelog v1: This patch adds iommu support for exynos drm framework with dma mapping api. In this patch, we used dma mapping api to allocate physical memory and maps it with iommu table and removed some existing codes and added new some codes for iommu support. GEM allocation requires one device object to use dma mapping api so this patch uses one iommu mapping for all sub drivers. In other words, all sub drivers have same iommu mapping. Signed-off-by: Inki Dae <inki.dae@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
config DRM_EXYNOS
|
|
tristate "DRM Support for Samsung SoC EXYNOS Series"
|
|
depends on DRM && (PLAT_SAMSUNG || ARCH_MULTIPLATFORM)
|
|
select DRM_KMS_HELPER
|
|
select FB_CFB_FILLRECT
|
|
select FB_CFB_COPYAREA
|
|
select FB_CFB_IMAGEBLIT
|
|
select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE
|
|
help
|
|
Choose this option if you have a Samsung SoC EXYNOS chipset.
|
|
If M is selected the module will be called exynosdrm.
|
|
|
|
config DRM_EXYNOS_IOMMU
|
|
bool "EXYNOS DRM IOMMU Support"
|
|
depends on DRM_EXYNOS && EXYNOS_IOMMU && ARM_DMA_USE_IOMMU
|
|
help
|
|
Choose this option if you want to use IOMMU feature for DRM.
|
|
|
|
config DRM_EXYNOS_DMABUF
|
|
bool "EXYNOS DRM DMABUF"
|
|
depends on DRM_EXYNOS
|
|
help
|
|
Choose this option if you want to use DMABUF feature for DRM.
|
|
|
|
config DRM_EXYNOS_FIMD
|
|
bool "Exynos DRM FIMD"
|
|
depends on DRM_EXYNOS && !FB_S3C
|
|
help
|
|
Choose this option if you want to use Exynos FIMD for DRM.
|
|
|
|
config DRM_EXYNOS_HDMI
|
|
bool "Exynos DRM HDMI"
|
|
depends on DRM_EXYNOS && !VIDEO_SAMSUNG_S5P_TV
|
|
help
|
|
Choose this option if you want to use Exynos HDMI for DRM.
|
|
|
|
config DRM_EXYNOS_VIDI
|
|
bool "Exynos DRM Virtual Display"
|
|
depends on DRM_EXYNOS
|
|
help
|
|
Choose this option if you want to use Exynos VIDI for DRM.
|
|
|
|
config DRM_EXYNOS_G2D
|
|
bool "Exynos DRM G2D"
|
|
depends on DRM_EXYNOS && !VIDEO_SAMSUNG_S5P_G2D
|
|
help
|
|
Choose this option if you want to use Exynos G2D for DRM.
|