0001 # SPDX-License-Identifier: GPL-2.0
0002 config DRM_RCAR_DU
0003 tristate "DRM Support for R-Car Display Unit"
0004 depends on DRM && OF
0005 depends on ARM || ARM64
0006 depends on ARCH_RENESAS || COMPILE_TEST
0007 select DRM_KMS_HELPER
0008 select DRM_GEM_CMA_HELPER
0009 select VIDEOMODE_HELPERS
0010 help
0011 Choose this option if you have an R-Car chipset.
0012 If M is selected the module will be called rcar-du-drm.
0013
0014 config DRM_RCAR_USE_CMM
0015 bool "R-Car DU Color Management Module (CMM) Support"
0016 depends on DRM_RCAR_DU
0017 default DRM_RCAR_DU
0018 help
0019 Enable support for R-Car Color Management Module (CMM).
0020
0021 config DRM_RCAR_CMM
0022 def_tristate DRM_RCAR_DU
0023 depends on DRM_RCAR_USE_CMM
0024
0025 config DRM_RCAR_DW_HDMI
0026 tristate "R-Car Gen3 and RZ/G2 DU HDMI Encoder Support"
0027 depends on DRM && OF
0028 select DRM_DW_HDMI
0029 help
0030 Enable support for R-Car Gen3 or RZ/G2 internal HDMI encoder.
0031
0032 config DRM_RCAR_USE_LVDS
0033 bool "R-Car DU LVDS Encoder Support"
0034 depends on DRM_BRIDGE && OF
0035 default DRM_RCAR_DU
0036 help
0037 Enable support for the R-Car Display Unit embedded LVDS encoders.
0038
0039 config DRM_RCAR_LVDS
0040 def_tristate DRM_RCAR_DU
0041 depends on DRM_RCAR_USE_LVDS
0042 select DRM_KMS_HELPER
0043 select DRM_PANEL
0044 select OF_FLATTREE
0045 select OF_OVERLAY
0046
0047 config DRM_RCAR_MIPI_DSI
0048 tristate "R-Car DU MIPI DSI Encoder Support"
0049 depends on DRM && DRM_BRIDGE && OF
0050 select DRM_MIPI_DSI
0051 help
0052 Enable support for the R-Car Display Unit embedded MIPI DSI encoders.
0053
0054 config DRM_RCAR_VSP
0055 bool "R-Car DU VSP Compositor Support" if ARM
0056 default y if ARM64
0057 depends on DRM_RCAR_DU
0058 depends on VIDEO_RENESAS_VSP1=y || (VIDEO_RENESAS_VSP1 && DRM_RCAR_DU=m)
0059 help
0060 Enable support to expose the R-Car VSP Compositor as KMS planes.
0061
0062 config DRM_RCAR_WRITEBACK
0063 bool
0064 default y if ARM64
0065 depends on DRM_RCAR_DU