Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp150402pxb; Fri, 17 Sep 2021 22:01:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNchJ+ElcvY03Lq5AUgaGGUHvZuTWTP49w2J9Xgz5NBKTZAMIJ9VI2gMCqVX7CQZI/syV+ X-Received: by 2002:a05:6402:134d:: with SMTP id y13mr16292491edw.264.1631941287363; Fri, 17 Sep 2021 22:01:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631941287; cv=none; d=google.com; s=arc-20160816; b=LVOgta72RI/Gdc3jKHtGmt1BoDs9EGJKywA/KksgYtThm4skk7RTMcHiDSAYx4L8jf z8LuJ//vnjF6QGma3O3UQi9SRuz6WwoXYzDqQCOv+NDZr3Ty/4SIo+U/MBRmdOXyH6dc wtkzIy8caDZp4PBFUhgACIRdB9ceypi4PDKAAhTLNuh6zu7FTl7C7I/c4HDuBcfZWTLp iSa/9SmngGhiT+wvYZSKHsMftzFOfDjSp1Lt4/w3Ys9AmVEQiFSNFQQ/ns7Ddrr73eoV yH5jGWgdzKH9Iv83RDjVuBA0yvlJ8BUiuGLvM/Jl1elMb92mZvbMwbcTmMPKOxffsGUN zcdg== 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 :dkim-signature; bh=bo5do1/2uMxfSsRyPzIa31G3tU+VXBJq0VxVweJMjNw=; b=I+chh08hRJ5LqFoN2nURNrTrGD0Xy1v4qNw/UKZKnuWvhdmsthUS6gdPlWflYUJsHj 76vLswUKWbgVM/8LNKniJXFIWZZrFyS1KcD8tp4wdh/0WxhzWuwQaHxkhLPu6lqCU5Xx GMeIGEjOVfJlxljyGAGNh2xPFjbTPwSoFxz9pNsxakuU5b9epTXgRj9IxvaCbZk0zw5e g4CFGrCTJH2Q9ukJ1hp03h8w6pQYjFAkysGeqc8z6LTzoV3iocmqJZq/BqyeuZd1Xohd Q0B6htLokw5Q3kcNzQGR4LdsQoDOEbCoXDWiuCk4ZJT2tzFq2cP9PbEiXLHhCpw5a/yV r6uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@u92.eu header.s=fm3 header.b=lx2x0Jis; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=Z5DVGbfy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x11si9092755eds.131.2021.09.17.22.00.47; Fri, 17 Sep 2021 22:01:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@u92.eu header.s=fm3 header.b=lx2x0Jis; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=Z5DVGbfy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240708AbhIQVmf (ORCPT + 99 others); Fri, 17 Sep 2021 17:42:35 -0400 Received: from wnew3-smtp.messagingengine.com ([64.147.123.17]:34663 "EHLO wnew3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233664AbhIQVme (ORCPT ); Fri, 17 Sep 2021 17:42:34 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.west.internal (Postfix) with ESMTP id 6F5EA2B00902; Fri, 17 Sep 2021 17:41:10 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 17 Sep 2021 17:41:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=u92.eu; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=bo5do1/2uMxfSsRyPzIa31G3tU+ VXBJq0VxVweJMjNw=; b=lx2x0Jisdd2o9GUHAoLcO7aZNpLHdrPfa7v+3CbHaiR 1M7WQ51iFfY9qQzEvo85CsAhISodR2g1V4hPuk1RgX7j2rMrUz9Q5yuRqavVHCIQ /LVPTyEFjI+qDIpG99C2mAXra9mj8z4LPs3Gqi1Vnpx6gUv1axTysv/OcXVzC9Yj 8q9xDY7mQQ7POP5KYcLazECYJtC3G/NqeQp+MHyci+UeT4SH+c3uomhGMxPxIc+5 +RyIf5WC/T+NQgLisCIlXXcvvQ8QbuX3ErwRXpsACht9OBKx7LTHQ7NQyuJnNlQw i8ctXOoi6jk9qq6ptbYc1HB267/KQLPs/LjqoDgYOzw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=bo5do1 /2uMxfSsRyPzIa31G3tU+VXBJq0VxVweJMjNw=; b=Z5DVGbfyPXqul6bnNVQN3+ 51BL4yVViShm82Jlg2MDeHZOi8YlO8g4DTDddGKR6Yqz+yEPRYpiA9O1NAheI8Mj qfY+4MMrES5Qgcf70UVmEVpYA5Zf3MkId4upz8dtEiGVdD5ju/+Jj9MdZhy0C1lj xMobgxPk8Jb2lvSHc2TQ1UAfJABzS6V+jVefwKZbvwxAB2awio5FQtUZcEPHjHIn PZZBfTEuq1EH82J2tANVbF/4nMck7ofN6LBZ8z5xreZ5ULWyhFFDkYKeTgxgCpey dlvtf35ATwYtChTM84B8IJLD8P5LZw9x76nKD+/mfdALgr2zvUPkH8O7tRO/gixQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudehjedgtdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttdejnecuhfhrohhmpefhvghrnhgr nhguohcutfgrmhhoshcuoehgrhgvvghnfhhoohesuhelvddrvghuqeenucggtffrrghtth gvrhhnpedvjeeifeelhfetiefhhfdthfefkefhhfeutdetvdfgvefgveefheffgfekjeef heenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrh gvvghnfhhoohesuhelvddrvghu X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 17 Sep 2021 17:41:06 -0400 (EDT) Date: Fri, 17 Sep 2021 23:41:03 +0200 From: Fernando Ramos To: Daniel Vetter Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, sean@poorly.run, linux-doc@vger.kernel.org, amd-gfx@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, linux-tegra@vger.kernel.org Subject: Re: [PATCH 00/15] drm: cleanup: Use DRM_MODESET_LOCK_ALL_* helpers where possible Message-ID: References: <20210916211552.33490-1-greenfoo@u92.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21/09/17 05:24PM, Daniel Vetter wrote: > > Can we at least replace those with drm_modeset_lock_all_ctx and delete > drm_modeset_lock_all? That would be really nice goal to make sure these > don't spread further. I just checked and turns out no one else is using "drm_modeset_lock_all()" anymore. The only reference is the definition of the function itself, which I did not remove because it was being EXPORT_SYMBOL'ed and I was not sure whether it could be removed or not (to prevent breaking third party modules maybe?) The same goes true for its sibling "dmr_modeset_unlock_all()". But if you give me the green light I'll remove both of them right away :)