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