Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5845127rdb; Thu, 14 Dec 2023 00:48:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IFfBS3kDDIUiGJnnuGpKFGbdl5ntft56I6HfPu2rxrGccyL8Giz12CXr+21kT9IoRYCLM6L X-Received: by 2002:a05:6a20:daa0:b0:190:127e:e4e5 with SMTP id iy32-20020a056a20daa000b00190127ee4e5mr14126093pzb.69.1702543696169; Thu, 14 Dec 2023 00:48:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702543696; cv=none; d=google.com; s=arc-20160816; b=qYyYnjuS+r+SlfjJltoLSvpj/lAWw2yad78M5JkiVjhDFa+ks/xJnKNnlXdjG5Tmnc JsfWp6MeVsdHUYWe3+MrH8NpzzzkvGB3P6qwe6JpUZjBF8iyiIT8/5fwAGuHBffbo0cc Dst71i+jB/yQvGQ0A0VclLx5KFSew5YgU4IGVZjF3c8w+fDEGC3lMVSRgMeNCrA9N7A8 C0r3E+gUIxYoDXItWVfL6zhUcvmIQBryc1epQddBojrHLZG65QXkMCLo4ZPHcrvROeTP R5k+MJifKCUL56uh0ufKvho4AYR2h6tmgYbXFPD8avLzujszrmE7WySoCZ4MFUTwPklL sIwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bWHJ2nEewYvkEMXif5fsymjDtt1zbVHkI49YReVBsDQ=; fh=y56kCbdMUdKcDRlxmMUsmjw9T9ICprXmK1ZO6LC7mKw=; b=Q6BAKYS0Zi2DIpHCgmfCyrYKixWmaYcKqCvRK8w1wlyjbjABqo9q7PsG0NlfT9SmhO MntpkeojIDUvdzxViRCzNc6DvHNTB+EZHr6vRtVi4hAKu2buhq2koAb2P4yb4al9lWmg keIuW7oFnup5hN552E2HVfPvgTb9ej9IsivsgeAGan/9ZXmevmjbX2/BNXQUTQrPVyxQ t+7KiPEEOIjrQ4FJC2Tvv0icrwFf1ltp2afbZ9KZLghMBGXrAL2GK8YgjBjNjEJi0zGG 7vPanz/IL8dz55limc5vH0XKkC0s5Nc0doFZ1ceyA3w8XenWmn4INMFNMVWxthmxSfJf teeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pPD0dHul; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id co6-20020a17090afe8600b002886503a12csi11987060pjb.69.2023.12.14.00.48.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 00:48:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pPD0dHul; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 6926D81F37B6; Thu, 14 Dec 2023 00:48:13 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229769AbjLNIsA (ORCPT + 99 others); Thu, 14 Dec 2023 03:48:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbjLNIr7 (ORCPT ); Thu, 14 Dec 2023 03:47:59 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 781D2E3 for ; Thu, 14 Dec 2023 00:48:05 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B2380C433C8; Thu, 14 Dec 2023 08:48:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702543685; bh=bWHJ2nEewYvkEMXif5fsymjDtt1zbVHkI49YReVBsDQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pPD0dHulfnGTLBExOIGRTAfiqj1Qk7C1wGbXEFFA+Pt+rXyiZAj7vbwEaxmbG0WwT fXFFyJk+4cXRjuEuZOaIW2zJfaQWQVhtRrRRMs9UBCIfoOA/vwGoNjuOsMobs2oBCm /x6JnOvRPji6GrvOos2Yw0oUNQ7Twg7kRtElj5s2rVwBJyXcyMMHWXpshWSCkkceSt DYWU1oSq1eOTpMnCRdiI6PV+tNisgz0AazAxpQrLs1AbDcui/7JAAaAoEKbqsOi4RV TbFefK+3/aSdO1enpIiXwv3fnydWvBXHZc2tXzUZCp7iO2AVsS4o+JMKrdmlVqf3VR 5MriRhjZBtS9w== Date: Thu, 14 Dec 2023 09:48:02 +0100 From: Maxime Ripard To: Dave Stevenson Cc: Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , Emma Anholt , Jonathan Corbet , Sandy Huang , Heiko =?utf-8?Q?St=C3=BCbner?= , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Hans Verkuil , linux-rockchip@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Subject: Re: [PATCH v5 18/44] drm/vc4: hdmi: Create destroy state implementation Message-ID: References: <20231207-kms-hdmi-connector-state-v5-0-6538e19d634d@kernel.org> <20231207-kms-hdmi-connector-state-v5-18-6538e19d634d@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="34euckmdvwkupler" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 14 Dec 2023 00:48:13 -0800 (PST) --34euckmdvwkupler Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Dave, On Tue, Dec 12, 2023 at 11:40:26AM +0000, Dave Stevenson wrote: > On Thu, 7 Dec 2023 at 15:50, Maxime Ripard wrote: > > > > Even though we were rolling our own custom state for the vc4 HDMI > > controller driver, we were still using the generic helper to destroy > > that state. > > > > It was mostly working since the underlying state is the first member of > > our state so the pointers are probably equal in all relevant cases, but > > it's still fragile so let's fix this properly. > > > > Signed-off-by: Maxime Ripard >=20 > Reviewed-by: Dave Stevenson Thanks for the review, I've applied that patch now. Could you also review the framework changes (patches 6 to 16) ? Thanks! Maxime --34euckmdvwkupler Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZXrBQgAKCRDj7w1vZxhR xRk8AQDdN5Neajg11B6buyB2iqOXxDC3Ad8XCWlmcjkK9I1jTQEAv+RIYp6M3cV0 8PQqOi1QiT/3hX+WMjreXGSqFUgQCg8= =hVnz -----END PGP SIGNATURE----- --34euckmdvwkupler--