forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/drivers/gpu/drm/rcar-du/Kconfig
....@@ -1,8 +1,11 @@
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
45 depends on ARM || ARM64
56 depends on ARCH_RENESAS || COMPILE_TEST
7
+ imply DRM_RCAR_CMM
8
+ imply DRM_RCAR_LVDS
69 select DRM_KMS_HELPER
710 select DRM_KMS_CMA_HELPER
811 select DRM_GEM_CMA_HELPER
....@@ -11,12 +14,19 @@
1114 Choose this option if you have an R-Car chipset.
1215 If M is selected the module will be called rcar-du-drm.
1316
17
+config DRM_RCAR_CMM
18
+ tristate "R-Car DU Color Management Module (CMM) Support"
19
+ depends on DRM && OF
20
+ depends on DRM_RCAR_DU
21
+ help
22
+ Enable support for R-Car Color Management Module (CMM).
23
+
1424 config DRM_RCAR_DW_HDMI
15
- tristate "R-Car DU Gen3 HDMI Encoder Support"
25
+ tristate "R-Car Gen3 and RZ/G2 DU HDMI Encoder Support"
1626 depends on DRM && OF
1727 select DRM_DW_HDMI
1828 help
19
- Enable support for R-Car Gen3 internal HDMI encoder.
29
+ Enable support for R-Car Gen3 or RZ/G2 internal HDMI encoder.
2030
2131 config DRM_RCAR_LVDS
2232 tristate "R-Car DU LVDS Encoder Support"
....@@ -35,3 +45,8 @@
3545 depends on VIDEO_RENESAS_VSP1=y || (VIDEO_RENESAS_VSP1 && DRM_RCAR_DU=m)
3646 help
3747 Enable support to expose the R-Car VSP Compositor as KMS planes.
48
+
49
+config DRM_RCAR_WRITEBACK
50
+ bool
51
+ default y if ARM64
52
+ depends on DRM_RCAR_DU