From patchwork Fri Sep 6 11:01:31 2024
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Philipp Zabel
X-Patchwork-Id: 13793988
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
aws-us-west-2-korg-lkml-1.web.codeaurora.org
Received: from bombadil.infradead.org (bombadil.infradead.org
[198.137.202.133])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by smtp.lore.kernel.org (Postfix) with ESMTPS id 4BF25CE7B02
for ;
Fri, 6 Sep 2024 11:14:46 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help
:List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:Message-Id:
Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date:From:
Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender
:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner;
bh=7xEWkRqTTcgSnJUDjSVfl3/TncWQ42yLlq8OoupVhLQ=; b=mIqw9U+dbnDr+L/dGtTHHgf8NL
1ya7L+58890iaNf+ew8K6Xa/24tWZdxoKxznAvxkg01+gBdFcunpyiziOfvTZBCGjaET3k51kWezd
zI4iZga1y6WqhrEVnEgFmc9DTvhrBs5fjV9zI8GPr1W+ivCReb640v3GTd1NRKW6ARI7JvX30e60q
EuzaahCTH2WI92zMT6dz4ziZXxmR0lXmNx+/WeakmU6SEAVf1npmHLDItHHjnUU/W9dnqqtGhJw8f
LrBtbw6lo+XE5CSKglIOrd9vYfVRj4UW0xNmL6XhWKpF83kQv9ssqIcGF2ZbY44v5GCvQ+Y20GAJA
2o3aZBpw==;
Received: from localhost ([::1] helo=bombadil.infradead.org)
by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux))
id 1smWvD-0000000Bv57-2ZZ9;
Fri, 06 Sep 2024 11:14:35 +0000
Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104])
by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux))
id 1smWiu-0000000BsRN-1BNV
for linux-arm-kernel@lists.infradead.org;
Fri, 06 Sep 2024 11:01:54 +0000
Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54])
by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92)
(envelope-from )
id 1smWib-0007vq-40; Fri, 06 Sep 2024 13:01:33 +0200
From: Philipp Zabel
Date: Fri, 06 Sep 2024 13:01:31 +0200
Subject: [PATCH] drm/imx: parallel-display: select DRM_IMX_LEGACY_BRIDGE
MIME-Version: 1.0
Message-Id:
<20240906-imx-parallel-display-select-legacy-bridge-v1-1-ebb17457e936@pengutronix.de>
X-B4-Tracking: v=1; b=H4sIAArh2mYC/x2NQQrCQAxFr1KyNjBWLepVxEWaSWsg1iEj0lJ69
wY3D97i/b9CFVepcG9WcPlp1c8Ucjw0wC+aRkHN4dCm9pxuqUN9z1jIyUwMs9ZitGAVE/6iyUi
8YO+aI7wMLN2Jr8EMsVdcBp3/X4/ntu0sELyIewAAAA==
To: Maarten Lankhorst ,
Maxime Ripard , Thomas Zimmermann ,
David Airlie , Daniel Vetter ,
Shawn Guo , Sascha Hauer ,
Pengutronix Kernel Team ,
Fabio Estevam ,
Dmitry Baryshkov
Cc: dri-devel@lists.freedesktop.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org,
kernel test robot , Philipp Zabel
X-Mailer: b4 0.15-dev-13183
X-SA-Exim-Connect-IP: 2a0a:edc0:0:1101:1d::54
X-SA-Exim-Mail-From: p.zabel@pengutronix.de
X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de);
SAEximRunCond expanded to false
X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
X-CRM114-CacheID: sfid-20240906_040152_449171_69AFC031
X-CRM114-Status: UNSURE ( 9.62 )
X-CRM114-Notice: Please train this message.
X-BeenThere: linux-arm-kernel@lists.infradead.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id:
List-Unsubscribe:
,
List-Archive:
List-Post:
List-Help:
List-Subscribe:
,
Sender: "linux-arm-kernel"
Errors-To:
linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org
Add the missing select DRM_IMX_LEGACY_BRIDGE to fix kernels builds that
have the i.MX parallel-display driver enabled, but the LVDS display
bridge driver disabled.
Fixes build errors like:
ld: vmlinux.o: in function `imx_pd_probe':
parallel-display.c:(.text+0x3129db): undefined reference to `devm_imx_drm_legacy_bridge'
Reported-by: kernel test robot
Closes: https://lore.kernel.org/oe-kbuild-all/202409060118.z8BxMg7Z-lkp@intel.com/
Fixes: f94b9707a1c9 ("drm/imx: parallel-display: switch to imx_legacy_bridge / drm_bridge_connector")
Signed-off-by: Philipp Zabel
---
drivers/gpu/drm/imx/ipuv3/Kconfig | 1 +
1 file changed, 1 insertion(+)
---
base-commit: 8a8a31205e62b57f1fb844d790d682286121f729
change-id: 20240906-imx-parallel-display-select-legacy-bridge-5fce63c8ce6d
Best regards,
diff --git a/drivers/gpu/drm/imx/ipuv3/Kconfig b/drivers/gpu/drm/imx/ipuv3/Kconfig
index 5a40c878ebb0..4897fbd77f3f 100644
--- a/drivers/gpu/drm/imx/ipuv3/Kconfig
+++ b/drivers/gpu/drm/imx/ipuv3/Kconfig
@@ -14,6 +14,7 @@ config DRM_IMX_PARALLEL_DISPLAY
depends on DRM_IMX
select DRM_BRIDGE
select DRM_PANEL_BRIDGE
+ select DRM_IMX_LEGACY_BRIDGE
select VIDEOMODE_HELPERS
config DRM_IMX_TVE