From: Dmitry Baryshkov Date: Sun, 2 Jun 2024 12:04:50 +0000 (+0300) Subject: drm/imx: ldb: switch to imx_legacy_bridge / drm_bridge_connector X-Git-Tag: v6.13-rc1~122^2~23^2~123 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4c3d525f65733e760f3700c0f3c83e8e46d2dcd8;p=thirdparty%2Fkernel%2Flinux.git drm/imx: ldb: switch to imx_legacy_bridge / drm_bridge_connector Use the imx_legacy bridge driver instead of handlign display modes via the connector node. All existing usecases already support attaching using the DRM_BRIDGE_ATTACH_NO_CONNECTOR flag, while the imx_legacy bridge doesn't support creating connector at all. Switch to drm_bridge_connector at the same time. Reviewed-by: Philipp Zabel Tested-by: Chris Healy Tested-by: Philipp Zabel # on imx6q-nitrogen6x Link: https://patchwork.freedesktop.org/patch/msgid/20240602-drm-imx-cleanup-v3-10-e549e2a43100@linaro.org Signed-off-by: Dmitry Baryshkov --- diff --git a/drivers/gpu/drm/imx/ipuv3/Kconfig b/drivers/gpu/drm/imx/ipuv3/Kconfig index f083d313d1d3a..5a40c878ebb05 100644 --- a/drivers/gpu/drm/imx/ipuv3/Kconfig +++ b/drivers/gpu/drm/imx/ipuv3/Kconfig @@ -32,6 +32,7 @@ config DRM_IMX_LDB select MFD_SYSCON select DRM_BRIDGE 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. diff --git a/drivers/gpu/drm/imx/ipuv3/imx-ldb.c b/drivers/gpu/drm/imx/ipuv3/imx-ldb.c index bc7ad96971308..ff74018ac5cdf 100644 --- a/drivers/gpu/drm/imx/ipuv3/imx-ldb.c +++ b/drivers/gpu/drm/imx/ipuv3/imx-ldb.c @@ -19,17 +19,16 @@ #include #include -#include