1 # SPDX-License-Identifier: GPL-2.0
3 tristate "DRM Support for R-Car Display Unit"
5 depends on ARM || ARM64
6 depends on ARCH_RENESAS || COMPILE_TEST
8 select DRM_GEM_DMA_HELPER
9 select VIDEOMODE_HELPERS
11 Choose this option if you have an R-Car chipset.
12 If M is selected the module will be called rcar-du-drm.
14 config DRM_RCAR_USE_CMM
15 bool "R-Car DU Color Management Module (CMM) Support"
16 depends on DRM_RCAR_DU
19 Enable support for R-Car Color Management Module (CMM).
22 def_tristate DRM_RCAR_DU
23 depends on DRM_RCAR_USE_CMM
25 config DRM_RCAR_DW_HDMI
26 tristate "R-Car Gen3 and RZ/G2 DU HDMI Encoder Support"
30 Enable support for R-Car Gen3 or RZ/G2 internal HDMI encoder.
32 config DRM_RCAR_USE_LVDS
33 bool "R-Car DU LVDS Encoder Support"
34 depends on DRM_BRIDGE && OF
37 Enable support for the R-Car Display Unit embedded LVDS encoders.
40 def_tristate DRM_RCAR_DU
41 depends on DRM_RCAR_USE_LVDS
45 config DRM_RCAR_USE_MIPI_DSI
46 bool "R-Car DU MIPI DSI Encoder Support"
47 depends on DRM_BRIDGE && OF
50 Enable support for the R-Car Display Unit embedded MIPI DSI encoders.
52 config DRM_RCAR_MIPI_DSI
53 def_tristate DRM_RCAR_DU
54 depends on DRM_RCAR_USE_MIPI_DSI
57 config DRM_RZG2L_MIPI_DSI
58 tristate "RZ/G2L MIPI DSI Encoder Support"
59 depends on DRM_BRIDGE && OF
60 depends on ARCH_RENESAS || COMPILE_TEST
63 Enable support for the RZ/G2L Display Unit embedded MIPI DSI encoders.
66 bool "R-Car DU VSP Compositor Support" if ARM
68 depends on DRM_RCAR_DU
69 depends on VIDEO_RENESAS_VSP1=y || (VIDEO_RENESAS_VSP1 && DRM_RCAR_DU=m)
71 Enable support to expose the R-Car VSP Compositor as KMS planes.
73 config DRM_RCAR_WRITEBACK
76 depends on DRM_RCAR_DU