1# SPDX-License-Identifier: GPL-2.0 2config DRM_RCAR_DU 3 tristate "DRM Support for R-Car Display Unit" 4 depends on DRM && OF 5 depends on ARM || ARM64 6 depends on ARCH_RENESAS || COMPILE_TEST 7 select DRM_KMS_HELPER 8 select DRM_KMS_CMA_HELPER 9 select DRM_GEM_CMA_HELPER 10 select VIDEOMODE_HELPERS 11 help 12 Choose this option if you have an R-Car chipset. 13 If M is selected the module will be called rcar-du-drm. 14 15config DRM_RCAR_USE_CMM 16 bool "R-Car DU Color Management Module (CMM) Support" 17 depends on DRM_RCAR_DU 18 default DRM_RCAR_DU 19 help 20 Enable support for R-Car Color Management Module (CMM). 21 22config DRM_RCAR_CMM 23 def_tristate DRM_RCAR_DU 24 depends on DRM_RCAR_USE_CMM 25 26config DRM_RCAR_DW_HDMI 27 tristate "R-Car Gen3 and RZ/G2 DU HDMI Encoder Support" 28 depends on DRM && OF 29 select DRM_DW_HDMI 30 help 31 Enable support for R-Car Gen3 or RZ/G2 internal HDMI encoder. 32 33config 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 40config DRM_RCAR_LVDS 41 def_tristate DRM_RCAR_DU 42 depends on DRM_RCAR_USE_LVDS 43 select DRM_KMS_HELPER 44 select DRM_PANEL 45 select OF_FLATTREE 46 select OF_OVERLAY 47 48config DRM_RCAR_VSP 49 bool "R-Car DU VSP Compositor Support" if ARM 50 default y if ARM64 51 depends on DRM_RCAR_DU 52 depends on VIDEO_RENESAS_VSP1=y || (VIDEO_RENESAS_VSP1 && DRM_RCAR_DU=m) 53 help 54 Enable support to expose the R-Car VSP Compositor as KMS planes. 55 56config DRM_RCAR_WRITEBACK 57 bool 58 default y if ARM64 59 depends on DRM_RCAR_DU 60