hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/gpu/drm/rcar-du/Kconfig
....@@ -4,8 +4,6 @@
44 depends on DRM && OF
55 depends on ARM || ARM64
66 depends on ARCH_RENESAS || COMPILE_TEST
7
- imply DRM_RCAR_CMM
8
- imply DRM_RCAR_LVDS
97 select DRM_KMS_HELPER
108 select DRM_KMS_CMA_HELPER
119 select DRM_GEM_CMA_HELPER
....@@ -14,12 +12,16 @@
1412 Choose this option if you have an R-Car chipset.
1513 If M is selected the module will be called rcar-du-drm.
1614
17
-config DRM_RCAR_CMM
18
- tristate "R-Car DU Color Management Module (CMM) Support"
19
- depends on DRM && OF
15
+config DRM_RCAR_USE_CMM
16
+ bool "R-Car DU Color Management Module (CMM) Support"
2017 depends on DRM_RCAR_DU
18
+ default DRM_RCAR_DU
2119 help
2220 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
2325
2426 config DRM_RCAR_DW_HDMI
2527 tristate "R-Car Gen3 and RZ/G2 DU HDMI Encoder Support"
....@@ -28,15 +30,20 @@
2830 help
2931 Enable support for R-Car Gen3 or RZ/G2 internal HDMI encoder.
3032
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.
39
+
3140 config DRM_RCAR_LVDS
32
- tristate "R-Car DU LVDS Encoder Support"
33
- depends on DRM && DRM_BRIDGE && OF
41
+ def_tristate DRM_RCAR_DU
42
+ depends on DRM_RCAR_USE_LVDS
3443 select DRM_KMS_HELPER
3544 select DRM_PANEL
3645 select OF_FLATTREE
3746 select OF_OVERLAY
38
- help
39
- Enable support for the R-Car Display Unit embedded LVDS encoders.
4047
4148 config DRM_RCAR_VSP
4249 bool "R-Car DU VSP Compositor Support" if ARM