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