From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 C70F33D45D4 for ; Mon, 31 Aug 2026 09:01:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788166878; cv=none; b=tChmT2kyYYWYLJf4caqD8geOFXbWXBdanqd+/V7uy0CLb5zAAvIxKx0hywJah/4wd024sQBLhvmMiYiLSaBvnSVZKDYV/df+AZhtkuv+qlPt80ZyrwP1hX7p0w17+ilLvzs3JZH3XDKgI3aekEspQWlaS1aAhkhxXjxavmPxxn4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788166878; c=relaxed/simple; bh=T6oxC/12nbIyG/hWKvWHljzUeneLjy2WW6xRew8IQUw=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:Cc:To:From: References:In-Reply-To; b=aDyPmZuZq0mHB9MpDO23x5QB554BIPU68X4AIYVA4X14pN4OpXAlEKiSn5aZwgGxMORf+z0mBHtNJpSVwMR1U1yZqaTLtjxPk0IehcVfRehY7IkByRtbMMMl8fl8jd/mOeDpDQ3r0d39gvpjKoM2mSBHGSTdhn5fu3PxB8dpmzo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=y8DDw05V; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="y8DDw05V" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 049A64E41464; Mon, 31 Aug 2026 09:01:14 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id C1D2A60231; Mon, 31 Aug 2026 09:01:13 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 6B0C311C78388; Mon, 31 Aug 2026 11:01:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1788166868; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=T6oxC/12nbIyG/hWKvWHljzUeneLjy2WW6xRew8IQUw=; b=y8DDw05VRpqx6+EBYe8Kh0paGC4OlXEQn85iwNSnK6ozkBH8WL71eThmTB1aYF1yaZQ5az kde5NzGrZ9ZbFiP3PUTT40AAJlnEcuK8sX08rnulqazFr3bKAiuy7jUZcCV0/cu8znSHH0 QUMv0uMuFhMNvWVLttVcDIpkjgRHkC6bF7J6bG7W7melvug4gfcB65hQHgVyQ9ArN498qE cCrdK6ofajyojrYumICdfGukAz55XBLYsklNukBtBdrlXbXWAJfX0Kn2pgXmhSzRGFJdQA j8Gso1ao1Fos2IGJym5rizTP9Fy6dYdsqyw1BQsuFEXuPOpAgfh5gxVWT5nE5w== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 31 Aug 2026 11:01:00 +0200 Message-Id: Subject: Re: [PATCH v2 08/12] drm/bridge: parade-ps8640: select DRM_PANEL_BRIDGE Cc: "Andrzej Hajda" , "Neil Armstrong" , "Robert Foss" , "Laurent Pinchart" , "Jonas Karlman" , "Jernej Skrabec" , "Maarten Lankhorst" , "Maxime Ripard" , "Thomas Zimmermann" , "David Airlie" , "Simona Vetter" , "Matthias Brugger" , "AngeloGioacchino Del Regno" , "Hui Pu" , "Ian Ray" , "Thomas Petazzoni" , , , , , "Jitao Shi" , "CK Hu" , "Pin-yen Lin" , "Enric Balletbo i Serra" To: "Doug Anderson" , "Luca Ceresoli" From: "Luca Ceresoli" X-Mailer: aerc 0.22.0 References: <20260825-drm-bridge-drm_panel-cleanup-v2-0-c6c88ba7ffd2@bootlin.com> <20260825-drm-bridge-drm_panel-cleanup-v2-8-c6c88ba7ffd2@bootlin.com> In-Reply-To: X-Last-TLS-Session-Version: TLSv1.3 Hi, On Thu Aug 27, 2026 at 6:23 PM CEST, Doug Anderson wrote: > Hi, > > On Tue, Aug 25, 2026 at 3:11=E2=80=AFAM Luca Ceresoli wrote: >> >> This driver uses the drm_panel_bridge API and not the drm_panel API so i= t >> should select DRM_PANEL_BRIDGE and not DRM_PANEL. > > Which exact "drm_panel_bridge" API does it use? I don't see any... It calls devm_drm_of_get_bridge() [0], which is in bridge/panel.c [1], which is enabled by CONFIG_DRM_PANEL_BRIDGE [2]. [0] https://elixir.bootlin.com/linux/v7.2.2/source/drivers/gpu/drm/bridge/p= arade-ps8640.c#L636 [1] https://elixir.bootlin.com/linux/v7.2.2/source/drivers/gpu/drm/bridge/p= anel.c#L483-L515 [2] https://elixir.bootlin.com/linux/v7.2.2/source/drivers/gpu/drm/Makefile= #L159 > Certainly it's highly likely that the next bridge in the chain is a > panel, but there are no API calls that I see. Maybe the scripts got > confused because the variable name didn't get updated in commit No script, just this humble human got confused X-) > 5486eac81004 ("drm/bridge: parade-ps8640: switch to > devm_drm_of_get_bridge") ? Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com