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