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: 13793938 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3C5E31CB325 for ; Fri, 6 Sep 2024 11:01:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725620499; cv=none; b=XpGgtXMN/I5yVI+OBc0gXifR2W8RLpYEUX4VC22bG3pZXYP6iL17DYL2Pxe4DIXanSrrBbcMQnyXVpPxzQq/xm9wAse77MX7PHVtZuJz7jg2/IfmfMf1wzD4Cng6q17rSFWcTo1vqFqRDzLd5kyh85gGpb4+F6J49rsRQ3yDoMY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725620499; c=relaxed/simple; bh=k5+XVlhfp7J1OR8MASmqERqRjjzauNiOy6HXf1rlDzY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=qy4GVoLn3q8Avlo3KzDoG6XOhr768cSoqyaP6tP7tpvj7ZK85cog5c6pZ5QbwzCGJdjqlqhRfvGFcvR1YbzW0vuz9HWD9Np4zrh4EW8ghXrN1bYeuyYcH0Iqqr4Rs+THtxobwQ0UlSbBZle8uaVku3gmtyK07qV/iH8HKldbX9w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de 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 Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: 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: imx@lists.linux.dev 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