forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 61598093bbdd283a7edc367d900f223070ead8d2
kernel/drivers/gpu/drm/rcar-du/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0
12 config DRM_RCAR_DU
23 tristate "DRM Support for R-Car Display Unit"
34 depends on DRM && OF
....@@ -11,22 +12,38 @@
1112 Choose this option if you have an R-Car chipset.
1213 If M is selected the module will be called rcar-du-drm.
1314
15
+config DRM_RCAR_USE_CMM
16
+ bool "R-Car DU Color Management Module (CMM) Support"
17
+ depends on DRM_RCAR_DU
18
+ default DRM_RCAR_DU
19
+ help
20
+ Enable support for R-Car Color Management Module (CMM).
21
+
22
+config DRM_RCAR_CMM
23
+ def_tristate DRM_RCAR_DU
24
+ depends on DRM_RCAR_USE_CMM
25
+
1426 config DRM_RCAR_DW_HDMI
15
- tristate "R-Car DU Gen3 HDMI Encoder Support"
27
+ tristate "R-Car Gen3 and RZ/G2 DU HDMI Encoder Support"
1628 depends on DRM && OF
1729 select DRM_DW_HDMI
1830 help
19
- Enable support for R-Car Gen3 internal HDMI encoder.
31
+ Enable support for R-Car Gen3 or RZ/G2 internal HDMI encoder.
32
+
33
+config DRM_RCAR_USE_LVDS
34
+ bool "R-Car DU LVDS Encoder Support"
35
+ depends on DRM_BRIDGE && OF
36
+ default DRM_RCAR_DU
37
+ help
38
+ Enable support for the R-Car Display Unit embedded LVDS encoders.
2039
2140 config DRM_RCAR_LVDS
22
- tristate "R-Car DU LVDS Encoder Support"
23
- depends on DRM && DRM_BRIDGE && OF
41
+ def_tristate DRM_RCAR_DU
42
+ depends on DRM_RCAR_USE_LVDS
2443 select DRM_KMS_HELPER
2544 select DRM_PANEL
2645 select OF_FLATTREE
2746 select OF_OVERLAY
28
- help
29
- Enable support for the R-Car Display Unit embedded LVDS encoders.
3047
3148 config DRM_RCAR_VSP
3249 bool "R-Car DU VSP Compositor Support" if ARM
....@@ -35,3 +52,8 @@
3552 depends on VIDEO_RENESAS_VSP1=y || (VIDEO_RENESAS_VSP1 && DRM_RCAR_DU=m)
3653 help
3754 Enable support to expose the R-Car VSP Compositor as KMS planes.
55
+
56
+config DRM_RCAR_WRITEBACK
57
+ bool
58
+ default y if ARM64
59
+ depends on DRM_RCAR_DU