From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EEB16606A329 for ; Thu, 5 Nov 2026 09:15:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=HOOboCMy; dkim=fail reason="signature verification failed" (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=bFAS48f0 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=MlgP9hH6C1e1YsfUOeWxTT46UBmoB1O5BQkNRcCuoko=; b=HOOboCMyW8eUrCkOYGWR8rD7E6 B3lXDhiurFC5foTKhkHXpXtgTe24qjoZJS8Fkt8x5jOC/H0lo/e1oz1vsBdjezEKyUlyW3Xft5+8m yNOw4gpoFB8SGg6ZFVGo/ViIu7BYx3SA48/+e/bJ5IxVNXa+cF0Y4U+wkMnW9OjQR7CAhfBMkKcYA kVnozLESFuVy6puEqcWDj5NIs2D3My/F0br8XZDaSXoZ1cIIJqmBYpp3nARhUSemMm9oteL0FrCf5 vWWVaFFpkntXghuOZj3ZQ8dSMxdJloCkm6JNTdEfTq6xrR52YCwtNW94NWUkb6+13wA3IohgPbfDg YVfAxq2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xOtYx-00000008Gky-3x4W; Thu, 05 Nov 2026 09:15:15 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xOtYv-00000008Gkn-0ArO for linux-amlogic@lists.infradead.org; Thu, 05 Nov 2026 09:15:13 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 30E8860F3E; Thu, 5 Nov 2026 09:15:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 36B561F000C1; Thu, 5 Nov 2026 09:15:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793870111; bh=yuu8MRbvZ8Q99gVGDEWGPtvGQgcdEiYL3ohtAsA9Mfg=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=bFAS48f0dLcspAEXkjkArw9f5g1sLZat7q01f+HKggEbmSs8nuly01Er89M9cFC+E aJelUDSseJymE+2CsLiDv70w3W0f6o/p8FxgDHcsOPwgv1/JMp5POhaS6WYnvYb7K8 zUzkNI/hkDRyloSNnZbNr8XotLbG+h1F+jOL0Hkb0Avr9U7fYBRpfR9C0mcxiQBR3s vMTD9J5x5SQw0X/qL4Os/hOqj2LHOa1MTSUUKJIb4NDus9wXA/2kpJ9BHnn9SLC4gw 1auncQlq+pWnfmu6Sf7Gd8Hf0QutCtTy+KqQdynzeHMD3cDRsYlcu6hbTs5fM0MRzR 2QGNBnbRrZdUQ== Date: Thu, 5 Nov 2026 10:15:08 +0100 From: Maxime Ripard To: Maarten Lankhorst , Thomas Zimmermann , David Airlie , Simona Vetter Cc: dri-devel@lists.freedesktop.org, Christian =?utf-8?B?S8O2bmln?= , Alex Deucher , amd-gfx@lists.freedesktop.org, Russell King , Alim Akhtar , Inki Dae , Krzysztof Kozlowski , Kyungmin Park , Peter Griffin , Seung-Woo Kim , linux-samsung-soc@vger.kernel.org, Alison Wang , Stefan Agner , Huacai Chen , Icenowy Zheng , Jianmin Lv , Mingcong Bai , Qianhai Wu , Xi Ruoyao , Geert Uytterhoeven , linux-renesas-soc@vger.kernel.org, Marcus Folkesson , Alain Volmat , Raphael Gallais-Pou , Chen-Yu Tsai , Samuel Holland , linux-sunxi@lists.linux.dev, Jonathan Hunter , Mikko Perttunen , Thierry Reding , linux-tegra@vger.kernel.org, Alexey Brodkin , Alex Lanzano , Chia-I Wu , David Airlie , Dmitry Osipenko , Gerd Hoffmann , Gurchetan Singh , virtualization@lists.linux.dev, Haneen Mohammed , Louis Chauvet , Melissa Wen , Oleksandr Andrushchenko , Jerome Brunet , Kevin Hilman , Martin Blumenstingl , linux-amlogic@lists.infradead.org, Harry Wentland , Leo Li , Rodrigo Siqueira , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org, Danilo Krummrich , Lyude Paul , nouveau@lists.freedesktop.org Subject: Re: [PATCH v3 00/37] drm/connector: Convert all drivers to atomic_create_state and remove reset Message-ID: References: <20261030-drm-no-more-connector-reset-v3-0-30e71d92c327@kernel.org> X-Archived-By: MIME-Version: 1.0 In-Reply-To: <20261030-drm-no-more-connector-reset-v3-0-30e71d92c327@kernel.org> X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============8632674404827386599==" Sender: "linux-amlogic" X-Spam-Status: No, score=-8.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 --===============8632674404827386599== Content-Type: multipart/signed; micalg=pgp-sha384; protocol="application/pgp-signature"; boundary="2zvnwa2sqytkzb4j" Content-Disposition: inline --2zvnwa2sqytkzb4j Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v3 00/37] drm/connector: Convert all drivers to atomic_create_state and remove reset MIME-Version: 1.0 On Fri, Oct 30, 2026 at 04:13:30PM +0100, Maxime Ripard wrote: > This is a follow-up to the plane and CRTC reset removal series, and > part of a larger effort to remove the reset hook from all KMS objects. >=20 > The connector reset hook is overloaded: it is called both at probe > time to create the initial software state and during suspend/resume to > reset hardware and software state. These two roles have different > requirements, and the reset hook is not fallible, making error > handling difficult for the initial state allocation path. >=20 > While reset has the semantics to reset both the software and hardware > state, the vast majority of implementations and all the helpers only > reset the software state, making them equivalent to > atomic_create_state in practice. The atomic_create_state hook makes > this explicit: it only allocates and initializes a pristine state > without any side effect, and returns the state pointer or an ERR_PTR > on failure. >=20 > This series converts all connector drivers tree-wide from the reset hook > to atomic_create_state, then removes the reset hook from struct > drm_connector_funcs entirely. The conversions were done using a > combination of Coccinelle semantic patches, mechanical one-line > replacements and manual adjustments. >=20 > Signed-off-by: Maxime Ripard Applied to drm-misc-next Maxime --2zvnwa2sqytkzb4j Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iJUEABMJAB0WIQTkHFbLp4ejekA/qfgnX84Zoj2+dgUCauxJHAAKCRAnX84Zoj2+ dpi6AYDFcyxVth1IfzYJl7Mk/wdU/UrwZChOoRG3vJ2c4jm3YXPwmaZCDBG4hPm/ E3dp1WQBf2Htv+GDvQkXS9avpT+uRjkpFRqowDqfaE0gXWHKwBFuo13bOFi12DLC XPBNQCk6+w== =O+mF -----END PGP SIGNATURE----- --2zvnwa2sqytkzb4j-- --===============8632674404827386599== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic --===============8632674404827386599==--