hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/gpu/drm/exynos/Kconfig
....@@ -1,19 +1,17 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 config DRM_EXYNOS
2
- tristate "DRM Support for Samsung SoC EXYNOS Series"
3
- depends on OF && DRM && (ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || ARCH_MULTIPLATFORM)
3
+ tristate "DRM Support for Samsung SoC Exynos Series"
4
+ depends on OF && DRM && COMMON_CLK
5
+ depends on ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || ARCH_MULTIPLATFORM || COMPILE_TEST
6
+ depends on MMU
47 select DRM_KMS_HELPER
58 select VIDEOMODE_HELPERS
69 select SND_SOC_HDMI_CODEC if SND_SOC
710 help
8
- Choose this option if you have a Samsung SoC EXYNOS chipset.
11
+ Choose this option if you have a Samsung SoC Exynos chipset.
912 If M is selected the module will be called exynosdrm.
1013
1114 if DRM_EXYNOS
12
-
13
-config DRM_EXYNOS_IOMMU
14
- bool
15
- depends on EXYNOS_IOMMU
16
- default y
1715
1816 comment "CRTCs"
1917
....@@ -65,7 +63,7 @@
6563 This enables support for Exynos MIPI-DSI device.
6664
6765 config DRM_EXYNOS_DP
68
- bool "EXYNOS specific extensions for Analogix DP driver"
66
+ bool "Exynos specific extensions for Analogix DP driver"
6967 depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
7068 select DRM_ANALOGIX_DP
7169 default DRM_EXYNOS
....@@ -90,7 +88,7 @@
9088
9189 config DRM_EXYNOS_G2D
9290 bool "G2D"
93
- depends on VIDEO_SAMSUNG_S5P_G2D=n
91
+ depends on VIDEO_SAMSUNG_S5P_G2D=n || COMPILE_TEST
9492 select FRAME_VECTOR
9593 help
9694 Choose this option if you want to use Exynos G2D for DRM.
....@@ -118,7 +116,7 @@
118116
119117 config DRM_EXYNOS_GSC
120118 bool "GScaler"
121
- depends on VIDEO_SAMSUNG_EXYNOS_GSC=n
119
+ depends on VIDEO_SAMSUNG_EXYNOS_GSC=n || COMPILE_TEST
122120 select DRM_EXYNOS_IPP
123121 help
124122 Choose this option if you want to use Exynos GSC for DRM.