blob: 225141656e1903758e096561521629e7154bf78c [file] [log] [blame]
Kuninori Morimoto0bbce9e2018-07-26 02:37:32 +00001# SPDX-License-Identifier: GPL-2.0
Laurent Pinchart4bf8e192013-06-19 13:54:11 +02002config DRM_RCAR_DU
3 tristate "DRM Support for R-Car Display Unit"
Koji Matsuoka7372e892015-08-07 21:22:24 +09004 depends on DRM && OF
5 depends on ARM || ARM64
Simon Hormana033e6b2016-03-25 10:38:28 +09006 depends on ARCH_RENESAS || COMPILE_TEST
Laurent Pinchart4bf8e192013-06-19 13:54:11 +02007 select DRM_KMS_HELPER
8 select DRM_KMS_CMA_HELPER
9 select DRM_GEM_CMA_HELPER
Laurent Pinchart1d46fea2014-08-27 00:42:56 +020010 select VIDEOMODE_HELPERS
Laurent Pinchart4bf8e192013-06-19 13:54:11 +020011 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.
Laurent Pinchart90374b52013-06-17 13:48:27 +020014
Koji Matsuoka40d0fa72016-11-11 18:07:40 +010015config DRM_RCAR_DW_HDMI
16 tristate "R-Car DU Gen3 HDMI Encoder Support"
17 depends on DRM && OF
18 select DRM_DW_HDMI
19 help
20 Enable support for R-Car Gen3 internal HDMI encoder.
21
Laurent Pinchart90374b52013-06-17 13:48:27 +020022config DRM_RCAR_LVDS
Laurent Pinchartc6a27fa2018-01-10 05:47:42 +020023 tristate "R-Car DU LVDS Encoder Support"
24 depends on DRM && DRM_BRIDGE && OF
Laurent Pinchartbf7149f2016-11-18 03:22:37 +020025 select DRM_PANEL
Laurent Pinchart81c0e3d2018-01-10 02:40:27 +020026 select OF_FLATTREE
27 select OF_OVERLAY
Laurent Pinchart90374b52013-06-17 13:48:27 +020028 help
Koji Matsuoka6bc2e152015-07-28 20:12:43 +090029 Enable support for the R-Car Display Unit embedded LVDS encoders.
Laurent Pinchart6d62ef32015-09-07 17:14:58 +030030
31config DRM_RCAR_VSP
Laurent Pinchart9ff3e792018-01-12 05:15:57 +020032 bool "R-Car DU VSP Compositor Support" if ARM
33 default y if ARM64
Laurent Pinchart6d62ef32015-09-07 17:14:58 +030034 depends on DRM_RCAR_DU
Arnd Bergmann4f5504c2016-02-26 12:52:20 +010035 depends on VIDEO_RENESAS_VSP1=y || (VIDEO_RENESAS_VSP1 && DRM_RCAR_DU=m)
Laurent Pinchart6d62ef32015-09-07 17:14:58 +030036 help
37 Enable support to expose the R-Car VSP Compositor as KMS planes.