blob: 1529849e217e910c60f8a69c5f4d2e0206a70a9f [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 Pinchart02f2b302019-01-17 01:11:37 +02007 imply DRM_RCAR_LVDS
Laurent Pinchart4bf8e192013-06-19 13:54:11 +02008 select DRM_KMS_HELPER
9 select DRM_KMS_CMA_HELPER
10 select DRM_GEM_CMA_HELPER
Laurent Pinchart1d46fea2014-08-27 00:42:56 +020011 select VIDEOMODE_HELPERS
Laurent Pinchart4bf8e192013-06-19 13:54:11 +020012 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.
Laurent Pinchart90374b52013-06-17 13:48:27 +020015
Koji Matsuoka40d0fa72016-11-11 18:07:40 +010016config 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
Laurent Pinchart90374b52013-06-17 13:48:27 +020023config DRM_RCAR_LVDS
Laurent Pinchartc6a27fa2018-01-10 05:47:42 +020024 tristate "R-Car DU LVDS Encoder Support"
25 depends on DRM && DRM_BRIDGE && OF
Laurent Pinchartbf7149f2016-11-18 03:22:37 +020026 select DRM_PANEL
Laurent Pinchart81c0e3d2018-01-10 02:40:27 +020027 select OF_FLATTREE
28 select OF_OVERLAY
Laurent Pinchart90374b52013-06-17 13:48:27 +020029 help
Koji Matsuoka6bc2e152015-07-28 20:12:43 +090030 Enable support for the R-Car Display Unit embedded LVDS encoders.
Laurent Pinchart6d62ef32015-09-07 17:14:58 +030031
32config DRM_RCAR_VSP
Laurent Pinchart9ff3e792018-01-12 05:15:57 +020033 bool "R-Car DU VSP Compositor Support" if ARM
34 default y if ARM64
Laurent Pinchart6d62ef32015-09-07 17:14:58 +030035 depends on DRM_RCAR_DU
Arnd Bergmann4f5504c2016-02-26 12:52:20 +010036 depends on VIDEO_RENESAS_VSP1=y || (VIDEO_RENESAS_VSP1 && DRM_RCAR_DU=m)
Laurent Pinchart6d62ef32015-09-07 17:14:58 +030037 help
38 Enable support to expose the R-Car VSP Compositor as KMS planes.
Laurent Pinchart12e32f52019-02-21 03:40:12 +020039
40config DRM_RCAR_WRITEBACK
41 bool
42 default y if ARM64