18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ciconfig DRM_RCAR_DU 38c2ecf20Sopenharmony_ci tristate "DRM Support for R-Car Display Unit" 48c2ecf20Sopenharmony_ci depends on DRM && OF 58c2ecf20Sopenharmony_ci depends on ARM || ARM64 68c2ecf20Sopenharmony_ci depends on ARCH_RENESAS || COMPILE_TEST 78c2ecf20Sopenharmony_ci select DRM_KMS_HELPER 88c2ecf20Sopenharmony_ci select DRM_KMS_CMA_HELPER 98c2ecf20Sopenharmony_ci select DRM_GEM_CMA_HELPER 108c2ecf20Sopenharmony_ci select VIDEOMODE_HELPERS 118c2ecf20Sopenharmony_ci help 128c2ecf20Sopenharmony_ci Choose this option if you have an R-Car chipset. 138c2ecf20Sopenharmony_ci If M is selected the module will be called rcar-du-drm. 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciconfig DRM_RCAR_USE_CMM 168c2ecf20Sopenharmony_ci bool "R-Car DU Color Management Module (CMM) Support" 178c2ecf20Sopenharmony_ci depends on DRM_RCAR_DU 188c2ecf20Sopenharmony_ci default DRM_RCAR_DU 198c2ecf20Sopenharmony_ci help 208c2ecf20Sopenharmony_ci Enable support for R-Car Color Management Module (CMM). 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ciconfig DRM_RCAR_CMM 238c2ecf20Sopenharmony_ci def_tristate DRM_RCAR_DU 248c2ecf20Sopenharmony_ci depends on DRM_RCAR_USE_CMM 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ciconfig DRM_RCAR_DW_HDMI 278c2ecf20Sopenharmony_ci tristate "R-Car Gen3 and RZ/G2 DU HDMI Encoder Support" 288c2ecf20Sopenharmony_ci depends on DRM && OF 298c2ecf20Sopenharmony_ci select DRM_DW_HDMI 308c2ecf20Sopenharmony_ci help 318c2ecf20Sopenharmony_ci Enable support for R-Car Gen3 or RZ/G2 internal HDMI encoder. 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ciconfig DRM_RCAR_USE_LVDS 348c2ecf20Sopenharmony_ci bool "R-Car DU LVDS Encoder Support" 358c2ecf20Sopenharmony_ci depends on DRM_BRIDGE && OF 368c2ecf20Sopenharmony_ci default DRM_RCAR_DU 378c2ecf20Sopenharmony_ci help 388c2ecf20Sopenharmony_ci Enable support for the R-Car Display Unit embedded LVDS encoders. 398c2ecf20Sopenharmony_ci 408c2ecf20Sopenharmony_ciconfig DRM_RCAR_LVDS 418c2ecf20Sopenharmony_ci def_tristate DRM_RCAR_DU 428c2ecf20Sopenharmony_ci depends on DRM_RCAR_USE_LVDS 438c2ecf20Sopenharmony_ci select DRM_KMS_HELPER 448c2ecf20Sopenharmony_ci select DRM_PANEL 458c2ecf20Sopenharmony_ci select OF_FLATTREE 468c2ecf20Sopenharmony_ci select OF_OVERLAY 478c2ecf20Sopenharmony_ci 488c2ecf20Sopenharmony_ciconfig DRM_RCAR_VSP 498c2ecf20Sopenharmony_ci bool "R-Car DU VSP Compositor Support" if ARM 508c2ecf20Sopenharmony_ci default y if ARM64 518c2ecf20Sopenharmony_ci depends on DRM_RCAR_DU 528c2ecf20Sopenharmony_ci depends on VIDEO_RENESAS_VSP1=y || (VIDEO_RENESAS_VSP1 && DRM_RCAR_DU=m) 538c2ecf20Sopenharmony_ci help 548c2ecf20Sopenharmony_ci Enable support to expose the R-Car VSP Compositor as KMS planes. 558c2ecf20Sopenharmony_ci 568c2ecf20Sopenharmony_ciconfig DRM_RCAR_WRITEBACK 578c2ecf20Sopenharmony_ci bool 588c2ecf20Sopenharmony_ci default y if ARM64 598c2ecf20Sopenharmony_ci depends on DRM_RCAR_DU 60