Skip to content

Commit a830a15

Browse files
author
Laurent Pinchart
committed
drm: rcar-du: Fix Kconfig dependency between RCAR_DU and RCAR_MIPI_DSI
When the R-Car MIPI DSI driver was added, it was a standalone encoder driver without any dependency to or from the R-Car DU driver. Commit 957fe62 ("drm: rcar-du: Fix DSI enable & disable sequence") then added a direct call from the DU driver to the MIPI DSI driver, without updating Kconfig to take the new dependency into account. Fix it the same way that the LVDS encoder is handled. Fixes: 957fe62 ("drm: rcar-du: Fix DSI enable & disable sequence") Reported-by: kernel test robot <[email protected]> Reviewed-by: Tomi Valkeinen <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]>
1 parent 6295f1d commit a830a15

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

drivers/gpu/drm/rcar-du/Kconfig

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,18 @@ config DRM_RCAR_LVDS
4444
select OF_FLATTREE
4545
select OF_OVERLAY
4646

47-
config DRM_RCAR_MIPI_DSI
48-
tristate "R-Car DU MIPI DSI Encoder Support"
49-
depends on DRM && DRM_BRIDGE && OF
50-
select DRM_MIPI_DSI
47+
config DRM_RCAR_USE_MIPI_DSI
48+
bool "R-Car DU MIPI DSI Encoder Support"
49+
depends on DRM_BRIDGE && OF
50+
default DRM_RCAR_DU
5151
help
5252
Enable support for the R-Car Display Unit embedded MIPI DSI encoders.
5353

54+
config DRM_RCAR_MIPI_DSI
55+
def_tristate DRM_RCAR_DU
56+
depends on DRM_RCAR_USE_MIPI_DSI
57+
select DRM_MIPI_DSI
58+
5459
config DRM_RCAR_VSP
5560
bool "R-Car DU VSP Compositor Support" if ARM
5661
default y if ARM64

0 commit comments

Comments
 (0)