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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 65A04C001DF for ; Tue, 25 Jul 2023 07:59:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232227AbjGYH7C (ORCPT ); Tue, 25 Jul 2023 03:59:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229938AbjGYH66 (ORCPT ); Tue, 25 Jul 2023 03:58:58 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06609E5 for ; Tue, 25 Jul 2023 00:58:57 -0700 (PDT) Received: from localhost (unknown [IPv6:2a01:e0a:2c:6930:5cf4:84a1:2763:fe0d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bbrezillon) by madras.collabora.co.uk (Postfix) with ESMTPSA id 1F2EB6606F97; Tue, 25 Jul 2023 08:58:55 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1690271935; bh=EcBa51UDSzC9yoULUX6VrJ7gf1EtZAt7KrCQOJ4AZv8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=FUxRFjlbD+YFzZ9kzfmNA9K2+szybOMzGFar7er1WYgKYuf0eICkPTwI3dtJQSFF5 FuqGy+0TAXaV1EXMGVvfRmqfqmMnu0IaRBZc8iJbtwdQ7YAq9N3K8IZrju2igz1YWx FQPDQbex+WYbg2Glf/s8K4ET646kxwzLvufhQYReJw0nUy+e11oLQ9b5ZXX0RyJsNb BGa9Y9YQbMMyvlqysVjDvaYEfOBbXI+Zf+sL9sC3cUPB0T8UJA/VaORLM6keETnsej opg6TRJJAfkym2E84FdocfKyPL92109gaiHoWbxr0gbCGenzPTPb5ziG5qdfV4ho68 CjuBT5OK18TSQ== Date: Tue, 25 Jul 2023 09:58:51 +0200 From: Boris Brezillon To: Dmitry Osipenko Cc: David Airlie , Gerd Hoffmann , Gurchetan Singh , Chia-I Wu , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Christian =?UTF-8?B?S8O2bmln?= , Qiang Yu , Steven Price , Emma Anholt , Melissa Wen , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, kernel@collabora.com, virtualization@lists.linux-foundation.org Subject: Re: [PATCH v14 10/12] drm/shmem-helper: Refactor locked/unlocked functions Message-ID: <20230725095851.5cbd7b6d@collabora.com> In-Reply-To: <20230725094702.4322fbb5@collabora.com> References: <20230722234746.205949-1-dmitry.osipenko@collabora.com> <20230722234746.205949-11-dmitry.osipenko@collabora.com> <20230725094702.4322fbb5@collabora.com> Organization: Collabora X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 25 Jul 2023 09:47:02 +0200 Boris Brezillon wrote: > On Sun, 23 Jul 2023 02:47:44 +0300 > Dmitry Osipenko wrote: > > > Add locked/unlocked postfixes to drm-shmem function names to make clear > > where reservation lock is taken and where not. > > Uh, ignore my comment on patch 1 then... > > > Add more common helpers to drm_gem_shmem_helper.h > > I'd do the renaming and exporting in separate patches. Actually, I'd refrain from exporting functions until someone needs them, as you rightfully pointed out in your previous reply. > > > > > Suggested-by: Boris Brezillon > > Signed-off-by: Dmitry Osipenko