From mboxrd@z Thu Jan 1 00:00:00 1970 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 005A9C369D5 for ; Mon, 28 Apr 2025 16:37:51 +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:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=0+W4uodyxoQUQ7gTcLqHUOqlDvIcEkj4yx+1gWHy3Mc=; b=Tuz0lAl7xPWcHE+dXyjnHgMPWv ubgivDsJBoofYirjbT3HGnLC+LTnYmJd9az5oZP/TaAoRmX4iWcQQajpOP+jqg0el+U68ij2SD/sw yqX+z4RY1ja4FDEeH8VSM/GaA1sIvzpkJJGagGSfTyako2EIhZ7P2gf3lPxH9CbbTtf9NqZ4Q+WPi VGaDB00QBw9ufiSP7YGaszlogmkooMKPq757IbJjdUlfzY3/xGmUMmZnP4upUe71Xyw6YiFKNgUH6 53TO236CcDDeQs/f0kqg3SC3uGlj7DrojjQpTYW4+opj9n5Gh+IujrQu6sZXN2EqYAz4YAyqmOvMY 5fnPw3Yw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1u9RUN-00000006xMP-0BmM; Mon, 28 Apr 2025 16:37:51 +0000 Received: from relay7-d.mail.gandi.net ([217.70.183.200]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1u9RQu-00000006wqs-2Nde; Mon, 28 Apr 2025 16:34:18 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id F39DA43962; Mon, 28 Apr 2025 16:33:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1745858053; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0+W4uodyxoQUQ7gTcLqHUOqlDvIcEkj4yx+1gWHy3Mc=; b=A5vI5CPAhG7Ec31vAslCrct99yDYQUT4yEVpjGag1L5A3ypdDOeM06X6a2NpNi4YWnE6mC 2NyQNklaS4GH5N+Y0O0KorENjPo6XmIKRUe43hr2bljZ9KcS30qPhwmXIPUFXXOTPm5XIu n26mA6Au7+KoHn580KonEgnc/bZs1s5A97JkVcqC4ISpJzXNYjj+t+twS22sMPY2EzjhQZ iio59hjvBN4KHAeTHadmXNHM9e/08/R+WKLujQCoy1O7rhd/OkZ8uYxTFLAP+7H0ewrqHT 6PMrAxpgk6up77rZyTiJAqPjC9S4tcckhsI1eEGu3LR+due+PAeNxJSMadl6Qw== Date: Mon, 28 Apr 2025 18:33:58 +0200 From: Luca Ceresoli To: Maxime Ripard Cc: Maarten Lankhorst , Thomas Zimmermann , David Airlie , Simona Vetter , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Jagan Teki , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Douglas Anderson , Chun-Kuang Hu , Krzysztof Kozlowski , Anusha Srivatsa , Paul Kocialkowski , Dmitry Baryshkov , Hui Pu , Thomas Petazzoni , dri-devel@lists.freedesktop.org, asahi@lists.linux.dev, linux-kernel@vger.kernel.org, chrome-platform@lists.linux.dev, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-renesas-soc@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, linux-stm32@st-md-mailman.stormreply.com, Adam Ford , Adrien Grassein , Aleksandr Mishin , Andy Yan , AngeloGioacchino Del Regno , Benson Leung , Biju Das , Christoph Fritz , Cristian Ciocaltea , Detlev Casanova , Dharma Balasubiramani , Guenter Roeck , Heiko Stuebner , Jani Nikula , Janne Grunau , Jerome Brunet , Jesse Van Gavere , Kevin Hilman , Kieran Bingham , Liu Ying , Manikandan Muralidharan , Martin Blumenstingl , Matthias Brugger , Philipp Zabel , Phong LE , Sasha Finkelstein , Sugar Zhang , Sui Jingfeng , Tomi Valkeinen , Vitalii Mordan , Ilpo =?UTF-8?B?SsOkcnZpbmVu?= , Bryan O'Donoghue , Hans de Goede , Uwe =?UTF-8?B?S2xlaW5lLUvDtm5pZw==?= , Dmitry Baryshkov , "Rob Herring (Arm)" , Hsin-Te Yuan , Pin-yen Lin , Xin Ji , Aradhya Bhatia , Tomi Valkeinen , Ian Ray , Martyn Welch , Peter Senna Tschudin , Russell King , Herve Codina , Alim Akhtar , Inki Dae , Kyungmin Park , Seung-Woo Kim , Linus Walleij , Abhinav Kumar , Bjorn Andersson , Marijn Suijten , Rob Clark , Sean Paul , Helge Deller , Kuninori Morimoto , Laurent Pinchart , Alexandre Torgue , Maxime Coquelin , Philippe Cornu , Raphael Gallais-Pou , Yannick Fertre , =?UTF-8?B?TWHDrXJh?= Canal , Dave Stevenson , Raspberry Pi Kernel Maintenance , Alain Volmat , Raphael Gallais-Pou , Michal Simek Subject: Re: [PATCH v2 00/34] drm: convert all bridges to devm_drm_bridge_alloc() Message-ID: <20250428183358.4d28ca6a@booty> In-Reply-To: <20250428-colossal-fiery-alpaca-8c5fee@houat> References: <20250424-drm-bridge-convert-to-alloc-api-v2-0-8f91a404d86b@bootlin.com> <20250428172457.23e23df5@booty> <20250428-colossal-fiery-alpaca-8c5fee@houat> Organization: Bootlin X-Mailer: Claws Mail 4.3.1 (GTK 3.24.43; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddviedugeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvvefukfgjfhhoofggtgfgsehtqhertdertdejnecuhfhrohhmpefnuhgtrgcuvegvrhgvshholhhiuceolhhutggrrdgtvghrvghsohhlihessghoohhtlhhinhdrtghomheqnecuggftrfgrthhtvghrnhephfetudeugfehheeliefhjeejuddvledtuddttdevledthfehgeeugfetheekgfffnecuffhomhgrihhnpegsohhothhlihhnrdgtohhmnecukfhppedvrgdtvdemieejtdemvddtvddtmegvrgdtudemsggvgedumeelhegvjeemfeegfeemledufegvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdgrtddvmeeijedtmedvtddvtdemvggrtddumegsvgegudemleehvgejmeefgeefmeeludefvgdphhgvlhhopegsohhothihpdhmrghilhhfrhhomheplhhutggrrdgtvghrvghsohhlihessghoohhtlhhinhdrtghomhdpnhgspghrtghpthhtohepuddtkedprhgtphhtthhopehmrhhiphgrrhgusehkvghrnhgvlhdrohhrghdprhgtphhtthhopehmrggrrhhtvghnrdhlrghnkhhhohhrshhtsehlihhnuhigrdhinhhtvghlrdgtohhmpdhrtghpthhtohepthiiihhmmhgvrhhmr ghnnhesshhushgvrdguvgdprhgtphhtthhopegrihhrlhhivggusehgmhgrihhlrdgtohhmpdhrtghpthhtohepshhimhhonhgrsehffhiflhhlrdgthhdprhgtphhtthhopegrnhgurhiivghjrdhhrghjuggrsehinhhtvghlrdgtohhmpdhrtghpthhtohepnhgvihhlrdgrrhhmshhtrhhonhhgsehlihhnrghrohdrohhrghdprhgtphhtthhopehrfhhoshhssehkvghrnhgvlhdrohhrgh X-GND-Sasl: luca.ceresoli@bootlin.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250428_093417_306394_3F72DC27 X-CRM114-Status: GOOD ( 31.34 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Hi Maxime, On Mon, 28 Apr 2025 17:42:46 +0200 Maxime Ripard wrote: > On Mon, Apr 28, 2025 at 05:24:57PM +0200, Luca Ceresoli wrote: > > Hi Maxime, other DRM maintainers, > >=20 > > On Thu, 24 Apr 2025 20:59:07 +0200 > > Luca Ceresoli wrote: > > =20 > > > devm_drm_bridge_alloc() [0] is the new API to allocate and initialize= a DRM > > > bridge, and the only one supported from now on. It is also necessary = for > > > implementing reference counting and thus needed to support removal of > > > bridges from a still existing DRM pipeline without use-after-free. > > >=20 > > > This series converts all DRM bridges to the new API. > > >=20 > > > Patch 1 uses a coccinelle semantic patch to mass-convert some of those > > > drivers -- thanks Maxime for having suggested the patch that served a= s a > > > starting point for me. I was unable to come up with a better patch > > > converting more drivers though, so I converted all others manually. M= ost of > > > them were trivial. I left the non-trivial ones at the end of the seri= es to > > > help reviewers know where to look at more carefully. > > >=20 > > > Due to the large number of touched files, the list of recipients gene= rated > > > by get_maintainers (b4 actually) was huge, 60~70 people (not counting > > > mailing lists), so I took the liberty of trimming the list as reasona= bly as > > > I could to DRM maintainers and frequent contributors, and added all o= ther > > > recipients individually per-patch. I hope this is fine. Don't hesitat= e to > > > suggest more people which should be Cc-ed in a future series, or a be= tter > > > Cc policy. > > >=20 > > > Current plan and status of the DRM bridge refcounting work: > > >=20 > > > A. =E2=9C=94 add new alloc API and refcounting -> (now in drm-misc-n= ext) > > > B. =E2=9E=9C convert all bridge drivers to new API (this series) > > > C. =E2=80=A6 documentation, kunit tests, debugfs improvements (v1 un= der discussion) > > > D. after (B), add get/put to drm_bridge_add/remove() + attach/detech= () > > > E. after (B), convert accessors; this is a large work and can be done > > > in chunks =20 > > > > Maintaining this long series is quite painful. Do you think at least > > patches with a R-by or T-by tag could be merged before I send v3, so > > we can relieve the maintenance effort, mail servers, and everybody's > > inboxes? =20 >=20 > Yes? >=20 > What's stopping you though? You have at least a colleague that can apply > them, and you could just as well apply for commit rights yourself. OK, thanks. Will do. The reason I haven't done it is this policy in DRM still appears a bit unusual to me, but if it works for DRM I'm OK with it. Only, in case of doubt, I didn't want to risk abusing of the commit rights. Best regards, Luca --=20 Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com