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_CMA_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
47 config DRM_RCAR_MIPI_DSI
48 tristate "R-Car DU MIPI DSI Encoder Support"
49 depends on DRM && DRM_BRIDGE && OF
52 Enable support for the R-Car Display Unit embedded MIPI DSI encoders.
55 bool "R-Car DU VSP Compositor Support" if ARM
57 depends on DRM_RCAR_DU
58 depends on VIDEO_RENESAS_VSP1=y || (VIDEO_RENESAS_VSP1 && DRM_RCAR_DU=m)
60 Enable support to expose the R-Car VSP Compositor as KMS planes.
62 config DRM_RCAR_WRITEBACK
65 depends on DRM_RCAR_DU