On So, 2024-03-31 at 23:29 +0300, Dmitry Baryshkov wrote: > Defer panel handling to drm_panel_bridge, unifying codepaths for the > panel and bridge cases. > > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> > --- > drivers/gpu/drm/imx/ipuv3/Kconfig | 2 ++ > drivers/gpu/drm/imx/ipuv3/imx-ldb.c | 44 ++++++++++++------------------------- > 2 files changed, 16 insertions(+), 30 deletions(-) > > diff --git a/drivers/gpu/drm/imx/ipuv3/Kconfig b/drivers/gpu/drm/imx/ipuv3/Kconfig > index bacf0655ebaf..4e41611c8532 100644 > --- a/drivers/gpu/drm/imx/ipuv3/Kconfig > +++ b/drivers/gpu/drm/imx/ipuv3/Kconfig > @@ -28,7 +28,9 @@ config DRM_IMX_LDB > tristate "Support for LVDS displays" > depends on DRM_IMX && MFD_SYSCON > depends on COMMON_CLK > + depends on DRM_BRIDGE To avoid hiding the DRM_IMX_LDB option for legacy configurations with DRM_BRIDGE disabled, it would be better to select DRM_BRIDGE here instead. > select DRM_PANEL And this shouldn't be necessary anymore. regards Philipp