mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-02 16:44:59 +00:00

The driver now uses the legacy bridge helper code but can be configured
to get built without it:
ERROR: modpost: "devm_imx_drm_legacy_bridge" [drivers/gpu/drm/imx/ipuv3/parallel-display.ko] undefined!
Add the required dependency, same as in the ldb driver.
Fixes: f94b9707a1
("drm/imx: parallel-display: switch to imx_legacy_bridge / drm_bridge_connector")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20241015073004.4066457-1-arnd@kernel.org
50 lines
1.2 KiB
Plaintext
50 lines
1.2 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config DRM_IMX
|
|
tristate "DRM Support for Freescale i.MX"
|
|
select DRM_CLIENT_SELECTION
|
|
select DRM_KMS_HELPER
|
|
select VIDEOMODE_HELPERS
|
|
select DRM_GEM_DMA_HELPER
|
|
depends on DRM && (ARCH_MXC || COMPILE_TEST)
|
|
depends on IMX_IPUV3_CORE
|
|
help
|
|
enable i.MX graphics support
|
|
|
|
config DRM_IMX_PARALLEL_DISPLAY
|
|
tristate "Support for parallel displays"
|
|
depends on DRM_IMX
|
|
select DRM_BRIDGE
|
|
select DRM_BRIDGE_CONNECTOR
|
|
select DRM_IMX_LEGACY_BRIDGE
|
|
select DRM_PANEL_BRIDGE
|
|
select VIDEOMODE_HELPERS
|
|
|
|
config DRM_IMX_TVE
|
|
tristate "Support for TV and VGA displays"
|
|
depends on DRM_IMX
|
|
depends on COMMON_CLK
|
|
select REGMAP_MMIO
|
|
help
|
|
Choose this to enable the internal Television Encoder (TVe)
|
|
found on i.MX53 processors.
|
|
|
|
config DRM_IMX_LDB
|
|
tristate "Support for LVDS displays"
|
|
depends on DRM_IMX
|
|
depends on COMMON_CLK
|
|
select MFD_SYSCON
|
|
select DRM_BRIDGE
|
|
select DRM_BRIDGE_CONNECTOR
|
|
select DRM_PANEL_BRIDGE
|
|
select DRM_IMX_LEGACY_BRIDGE
|
|
help
|
|
Choose this to enable the internal LVDS Display Bridge (LDB)
|
|
found on i.MX53 and i.MX6 processors.
|
|
|
|
config DRM_IMX_HDMI
|
|
tristate "Freescale i.MX DRM HDMI"
|
|
select DRM_DW_HDMI
|
|
depends on DRM_IMX && OF
|
|
help
|
|
Choose this if you want to use HDMI on i.MX6.
|