mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
5f9af404ee
Select DRM_KMS_HELPER dependency.
Build error when DRM_KMS_HELPER is not selected:
drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0xd48): undefined reference to `drm_atomic_helper_bridge_duplicate_state'
drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0xd50): undefined reference to `drm_atomic_helper_bridge_destroy_state'
drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0xd70): undefined reference to `drm_atomic_helper_bridge_reset'
drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0xdc8): undefined reference to `drm_atomic_helper_connector_reset'
drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0xde0): undefined reference to `drm_helper_probe_single_connector_modes'
drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0xe08): undefined reference to `drm_atomic_helper_connector_duplicate_state'
drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0xe10): undefined reference to `drm_atomic_helper_connector_destroy_state'
Fixes: c6a27fa41f
("drm: rcar-du: Convert LVDS encoder code to bridge driver")
Cc: <stable@vger.kernel.org>
Signed-off-by: Daniel Gomez <dagmcr@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
52 lines
1.4 KiB
Plaintext
52 lines
1.4 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
config DRM_RCAR_DU
|
|
tristate "DRM Support for R-Car Display Unit"
|
|
depends on DRM && OF
|
|
depends on ARM || ARM64
|
|
depends on ARCH_RENESAS || COMPILE_TEST
|
|
imply DRM_RCAR_CMM
|
|
imply DRM_RCAR_LVDS
|
|
select DRM_KMS_HELPER
|
|
select DRM_KMS_CMA_HELPER
|
|
select DRM_GEM_CMA_HELPER
|
|
select VIDEOMODE_HELPERS
|
|
help
|
|
Choose this option if you have an R-Car chipset.
|
|
If M is selected the module will be called rcar-du-drm.
|
|
|
|
config DRM_RCAR_CMM
|
|
tristate "R-Car DU Color Management Module (CMM) Support"
|
|
depends on DRM && OF
|
|
depends on DRM_RCAR_DU
|
|
help
|
|
Enable support for R-Car Color Management Module (CMM).
|
|
|
|
config DRM_RCAR_DW_HDMI
|
|
tristate "R-Car DU Gen3 HDMI Encoder Support"
|
|
depends on DRM && OF
|
|
select DRM_DW_HDMI
|
|
help
|
|
Enable support for R-Car Gen3 internal HDMI encoder.
|
|
|
|
config DRM_RCAR_LVDS
|
|
tristate "R-Car DU LVDS Encoder Support"
|
|
depends on DRM && DRM_BRIDGE && OF
|
|
select DRM_KMS_HELPER
|
|
select DRM_PANEL
|
|
select OF_FLATTREE
|
|
select OF_OVERLAY
|
|
help
|
|
Enable support for the R-Car Display Unit embedded LVDS encoders.
|
|
|
|
config DRM_RCAR_VSP
|
|
bool "R-Car DU VSP Compositor Support" if ARM
|
|
default y if ARM64
|
|
depends on DRM_RCAR_DU
|
|
depends on VIDEO_RENESAS_VSP1=y || (VIDEO_RENESAS_VSP1 && DRM_RCAR_DU=m)
|
|
help
|
|
Enable support to expose the R-Car VSP Compositor as KMS planes.
|
|
|
|
config DRM_RCAR_WRITEBACK
|
|
bool
|
|
default y if ARM64
|