David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | config 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 |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 7 | imply DRM_RCAR_LVDS |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 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 | |
| 16 | config 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 | |
| 23 | config 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 | |
| 32 | config 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. |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 39 | |
| 40 | config DRM_RCAR_WRITEBACK |
| 41 | bool |
| 42 | default y if ARM64 |