Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2027922rdf; Mon, 6 Nov 2023 02:32:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IGRtoBruU9IouG9CzisjGf1cI+mREXd4pcEhUKMtpowQgmH2+dYvykQZrW7b7fWwSabH66h X-Received: by 2002:a05:6808:23c3:b0:3b2:f2a8:1a4c with SMTP id bq3-20020a05680823c300b003b2f2a81a4cmr37234933oib.44.1699266768673; Mon, 06 Nov 2023 02:32:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699266768; cv=none; d=google.com; s=arc-20160816; b=DHU7v4Wc8UVW+eJ1vp1ptvIEBvf9QcRBwat0HWMH8PzjM4fENClRWH7sQWA9+bVL7W GP0S6EfFvyzmXrm1BhF0as/XAZKpGEA95P8gnG+NfEk80lBe30wka4kGgK6R+Mwa4fSD 7s28P3gyyqH/spbdzhrOQgxvED6qffG16eTWuDIau49zfn+3A9lKSP8dt78QagedDQJz JD1yhFzyCZGrVg8waju7g1adtBXG+7BCB2hmv698PGdB5NFBwSaep8qlvwq4t2BYwSd3 cj432q/7olYA0GIFUXlW9h15gr4PPAzFFse47kEqovM54YMIy3yHQxUxLX3VHrHssZtj 58mA== 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=PTBD7C7fHaLaaDpSPhX3CMSbWdu69dXBxjUtIf+7cYE=; fh=3LozFqLogkJrB/AYiFS2yMA+gxO/Uj4SX3OFfYP7EqU=; b=THSyd2ZIHmFYKK7AiYG/+reTLTty4ikEwQUTnExDz4I/4HmR+cVkyrH3grcfiRP+uO oRYdF9XKI4eTjvSsx9Ys1OhhqjNpK0xs47iciyrgvQkQ41NqYt4liDoHRj0CiXl8ViBd xCSBKrPinulVs51XZe/SvudU4vHaJhhIEYh2zMAwzpLyu3k6tY5RJ7Z3ETxPv3jERbKh w19Qh3GHQKHl4hDXiMGhg8GYoFfoQUaN/ZdEbXB3XJwTHhYeQG0IBZGwVFWG30LBaukQ 5puv36HnT0sHc6NJ1RDGgtUkBiLq8af3+V4fpul5Xi/myPEaYU02U4DyC+TKnuSsj2NP IsGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DYs2SZML; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id ct9-20020a056a000f8900b006b54b82dac0si8118249pfb.298.2023.11.06.02.32.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 02:32:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DYs2SZML; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id A8A3480707E3; Mon, 6 Nov 2023 02:32:47 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231137AbjKFKcq (ORCPT + 99 others); Mon, 6 Nov 2023 05:32:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229583AbjKFKcp (ORCPT ); Mon, 6 Nov 2023 05:32:45 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2DEDD8 for ; Mon, 6 Nov 2023 02:32:42 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37502C433C7; Mon, 6 Nov 2023 10:32:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699266762; bh=PTBD7C7fHaLaaDpSPhX3CMSbWdu69dXBxjUtIf+7cYE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DYs2SZMLRNz5aiPEe1hfLDeOnsS/HgdLLvXAkdykmZHXTsuDktn5q85N16gJBcERZ JghTPUYUj/WiqwIKuy4rWBdgbBD308mJSQsBGPFGLUHXqAfNLl/rPaho6S7tx3JUUk hZnPPG5b3V7+9UV6e//ikWXvt+aFtD8FA769pbbR5xF3C6J4MI/gayR/v3d0Psc7+m xs4hn5iYLdL+uFzHzM+H9bmyMUl1d15HjhYZ7GRXsZ8atuPi4dEasln34vzdLGcugP IMLD30dYtURF0XfMyw50SwkjZSviObD4QYJtRnm7X8S7AMfD9p/3KBi+vQzqZDzbP2 DKSQ4AWHpp1YA== Date: Mon, 6 Nov 2023 11:32:40 +0100 From: Maxime Ripard To: oushixiong Cc: Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/atomic-helper: Call stall_checks() before allocate drm_crtc_commit Message-ID: <6yqalig6nvnlpt7loetugjdgp5z4w3qwhpqpzzsygffp5w32d6@guq6v3g2z7tq> References: <20231106073742.158905-1-oushixiong@kylinos.cn> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bagq6jfn47h4mlnv" Content-Disposition: inline In-Reply-To: <20231106073742.158905-1-oushixiong@kylinos.cn> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Mon, 06 Nov 2023 02:32:47 -0800 (PST) --bagq6jfn47h4mlnv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, Nov 06, 2023 at 03:37:42PM +0800, oushixiong wrote: > From: Shixiong Ou >=20 > Calling stall_checks() before allocating drm_crtc_commit not after that. >=20 > Signed-off-by: Shixiong Ou Generally speaking, we need much more context than that. What bug did you encounter that makes you say that it should be moved? How can we reproduce it? How long has that issue been in the code? What makes you say that this is the right solution? Maxime --bagq6jfn47h4mlnv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZUjAyAAKCRDj7w1vZxhR xQw6AQClvst8daaSOBV5ptS1/p9TCemvn6ZjiXg0Vqm+6z8yxwD/aAgROmtskcol T+ZUxPYGekPgmrBGoCVcitgZ3Ztc8Ac= =ghBa -----END PGP SIGNATURE----- --bagq6jfn47h4mlnv--