From mboxrd@z Thu Jan 1 00:00:00 1970 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 5DAB716C451 for ; Wed, 29 May 2024 14:58:47 +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=1716994728; cv=none; b=VURp2X06Lmf3QyzlbJK7BmYdP7V0ivkqTIH3DTgjmYN4VyQBhMJu1Vc9HC6xcOjFAikH2hKjbDLE0bbGByGRtWPFtzn4JXyEBpQhNTmEa/a0kmooyXAfFBGMgLIUXRdSw4NXSNhrFSv8hVvjQJRVX9XbXeiy0SMbHoUAvXxEEq4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716994728; c=relaxed/simple; bh=rpM+Gf8xKZpPctpOeIEpNj32Z9qpkhf7+LScJBWu9Lg=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=gdWSvQNB+dtoQ/ZPpqEZswTFDejt9gM48/JpbYX/G/DeE1LvHl3jn0oT9kDaFUJNBBll+PcV/KFarHs5O6hnAMEJaYPQJyXz3PTiuIfEIOTstGTfOP3aygAGRJ6ners3DTefjjmgWhRsrdqHbwNTXTR3tn+63auQu63lcE+cc9c= 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 drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sCKkz-0003By-0n; Wed, 29 May 2024 16:58:25 +0200 Received: from [2a0a:edc0:0:900:1d::4e] (helo=lupine) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sCKky-003Te4-CI; Wed, 29 May 2024 16:58:24 +0200 Received: from pza by lupine with local (Exim 4.96) (envelope-from ) id 1sCKky-000DaN-0y; Wed, 29 May 2024 16:58:24 +0200 Message-ID: <5b3402ab39ddd521a4bb8bbcc4a26aa2e9549e9f.camel@pengutronix.de> Subject: Re: [PATCH v2 11/12] drm/imx: parallel-display: switch to imx_legacy_bridge / drm_bridge_connector From: Philipp Zabel To: Dmitry Baryshkov , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Chris Healy , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Date: Wed, 29 May 2024 16:58:24 +0200 In-Reply-To: <20240331-drm-imx-cleanup-v2-11-d81c1d1c1026@linaro.org> References: <20240331-drm-imx-cleanup-v2-0-d81c1d1c1026@linaro.org> <20240331-drm-imx-cleanup-v2-11-d81c1d1c1026@linaro.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4-2 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 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: devicetree@vger.kernel.org On So, 2024-03-31 at 23:29 +0300, Dmitry Baryshkov wrote: > Use the imx_legacy bridge driver instead of handlign display modes via > the connector node. >=20 > 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. >=20 > Signed-off-by: Dmitry Baryshkov > --- > drivers/gpu/drm/imx/ipuv3/parallel-display.c | 99 ++++++----------------= ------ > 1 file changed, 19 insertions(+), 80 deletions(-) >=20 > diff --git a/drivers/gpu/drm/imx/ipuv3/parallel-display.c b/drivers/gpu/d= rm/imx/ipuv3/parallel-display.c > index b7743b30475a..cf29021f497e 100644 > --- a/drivers/gpu/drm/imx/ipuv3/parallel-display.c > +++ b/drivers/gpu/drm/imx/ipuv3/parallel-display.c > @@ -12,10 +12,9 @@ > #include > #include > =20 > -#include