| .. | .. |
|---|
| 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 |
|---|
| .. | .. |
|---|
| 11 | 12 | Choose this option if you have an R-Car chipset. |
|---|
| 12 | 13 | If M is selected the module will be called rcar-du-drm. |
|---|
| 13 | 14 | |
|---|
| 15 | +config DRM_RCAR_USE_CMM |
|---|
| 16 | + bool "R-Car DU Color Management Module (CMM) Support" |
|---|
| 17 | + depends on DRM_RCAR_DU |
|---|
| 18 | + default DRM_RCAR_DU |
|---|
| 19 | + help |
|---|
| 20 | + Enable support for R-Car Color Management Module (CMM). |
|---|
| 21 | + |
|---|
| 22 | +config DRM_RCAR_CMM |
|---|
| 23 | + def_tristate DRM_RCAR_DU |
|---|
| 24 | + depends on DRM_RCAR_USE_CMM |
|---|
| 25 | + |
|---|
| 14 | 26 | config DRM_RCAR_DW_HDMI |
|---|
| 15 | | - tristate "R-Car DU Gen3 HDMI Encoder Support" |
|---|
| 27 | + tristate "R-Car Gen3 and RZ/G2 DU HDMI Encoder Support" |
|---|
| 16 | 28 | depends on DRM && OF |
|---|
| 17 | 29 | select DRM_DW_HDMI |
|---|
| 18 | 30 | help |
|---|
| 19 | | - Enable support for R-Car Gen3 internal HDMI encoder. |
|---|
| 31 | + Enable support for R-Car Gen3 or RZ/G2 internal HDMI encoder. |
|---|
| 32 | + |
|---|
| 33 | +config DRM_RCAR_USE_LVDS |
|---|
| 34 | + bool "R-Car DU LVDS Encoder Support" |
|---|
| 35 | + depends on DRM_BRIDGE && OF |
|---|
| 36 | + default DRM_RCAR_DU |
|---|
| 37 | + help |
|---|
| 38 | + Enable support for the R-Car Display Unit embedded LVDS encoders. |
|---|
| 20 | 39 | |
|---|
| 21 | 40 | config DRM_RCAR_LVDS |
|---|
| 22 | | - tristate "R-Car DU LVDS Encoder Support" |
|---|
| 23 | | - depends on DRM && DRM_BRIDGE && OF |
|---|
| 41 | + def_tristate DRM_RCAR_DU |
|---|
| 42 | + depends on DRM_RCAR_USE_LVDS |
|---|
| 24 | 43 | select DRM_KMS_HELPER |
|---|
| 25 | 44 | select DRM_PANEL |
|---|
| 26 | 45 | select OF_FLATTREE |
|---|
| 27 | 46 | select OF_OVERLAY |
|---|
| 28 | | - help |
|---|
| 29 | | - Enable support for the R-Car Display Unit embedded LVDS encoders. |
|---|
| 30 | 47 | |
|---|
| 31 | 48 | config DRM_RCAR_VSP |
|---|
| 32 | 49 | bool "R-Car DU VSP Compositor Support" if ARM |
|---|
| .. | .. |
|---|
| 35 | 52 | depends on VIDEO_RENESAS_VSP1=y || (VIDEO_RENESAS_VSP1 && DRM_RCAR_DU=m) |
|---|
| 36 | 53 | help |
|---|
| 37 | 54 | Enable support to expose the R-Car VSP Compositor as KMS planes. |
|---|
| 55 | + |
|---|
| 56 | +config DRM_RCAR_WRITEBACK |
|---|
| 57 | + bool |
|---|
| 58 | + default y if ARM64 |
|---|
| 59 | + depends on DRM_RCAR_DU |
|---|