mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 00:24:12 +08:00
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. Commit957fe62d7d
("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:957fe62d7d
("drm: rcar-du: Fix DSI enable & disable sequence") Reported-by: kernel test robot <lkp@intel.com> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
This commit is contained in:
parent
6295f1d8b4
commit
a830a15678
@ -44,13 +44,18 @@ config DRM_RCAR_LVDS
|
|||||||
select OF_FLATTREE
|
select OF_FLATTREE
|
||||||
select OF_OVERLAY
|
select OF_OVERLAY
|
||||||
|
|
||||||
config DRM_RCAR_MIPI_DSI
|
config DRM_RCAR_USE_MIPI_DSI
|
||||||
tristate "R-Car DU MIPI DSI Encoder Support"
|
bool "R-Car DU MIPI DSI Encoder Support"
|
||||||
depends on DRM && DRM_BRIDGE && OF
|
depends on DRM_BRIDGE && OF
|
||||||
select DRM_MIPI_DSI
|
default DRM_RCAR_DU
|
||||||
help
|
help
|
||||||
Enable support for the R-Car Display Unit embedded MIPI DSI encoders.
|
Enable support for the R-Car Display Unit embedded MIPI DSI encoders.
|
||||||
|
|
||||||
|
config DRM_RCAR_MIPI_DSI
|
||||||
|
def_tristate DRM_RCAR_DU
|
||||||
|
depends on DRM_RCAR_USE_MIPI_DSI
|
||||||
|
select DRM_MIPI_DSI
|
||||||
|
|
||||||
config DRM_RCAR_VSP
|
config DRM_RCAR_VSP
|
||||||
bool "R-Car DU VSP Compositor Support" if ARM
|
bool "R-Car DU VSP Compositor Support" if ARM
|
||||||
default y if ARM64
|
default y if ARM64
|
||||||
|
Loading…
Reference in New Issue
Block a user