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 imply DRM_RCAR_CMM 8 imply DRM_RCAR_LVDS 9 select DRM_KMS_HELPER 10 select DRM_KMS_CMA_HELPER 11 select DRM_GEM_CMA_HELPER 12 select VIDEOMODE_HELPERS 13 help 14 Choose this option if you have an R-Car chipset. 15 If M is selected the module will be called rcar-du-drm. 16 17config DRM_RCAR_CMM 18 tristate "R-Car DU Color Management Module (CMM) Support" 19 depends on DRM && OF 20 depends on DRM_RCAR_DU 21 help 22 Enable support for R-Car Color Management Module (CMM). 23 24config DRM_RCAR_DW_HDMI 25 tristate "R-Car Gen3 and RZ/G2 DU HDMI Encoder Support" 26 depends on DRM && OF 27 select DRM_DW_HDMI 28 help 29 Enable support for R-Car Gen3 or RZ/G2 internal HDMI encoder. 30 31config DRM_RCAR_LVDS 32 tristate "R-Car DU LVDS Encoder Support" 33 depends on DRM && DRM_BRIDGE && OF 34 select DRM_KMS_HELPER 35 select DRM_PANEL 36 select OF_FLATTREE 37 select OF_OVERLAY 38 help 39 Enable support for the R-Car Display Unit embedded LVDS encoders. 40 41config DRM_RCAR_VSP 42 bool "R-Car DU VSP Compositor Support" if ARM 43 default y if ARM64 44 depends on DRM_RCAR_DU 45 depends on VIDEO_RENESAS_VSP1=y || (VIDEO_RENESAS_VSP1 && DRM_RCAR_DU=m) 46 help 47 Enable support to expose the R-Car VSP Compositor as KMS planes. 48 49config DRM_RCAR_WRITEBACK 50 bool 51 default y if ARM64 52 depends on DRM_RCAR_DU 53