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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 42DB8C5AC67 for ; Thu, 6 Aug 2026 21:16:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AC13010F2EA; Thu, 6 Aug 2026 21:16:40 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="e18id2u2"; dkim-atps=neutral Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) by gabe.freedesktop.org (Postfix) with ESMTPS id DDB8C10F2EA for ; Thu, 6 Aug 2026 21:16:38 +0000 (UTC) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id F22C160A92; Thu, 6 Aug 2026 21:16:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DCCDF1F00A3A; Thu, 6 Aug 2026 21:16:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1786050997; bh=vQ4BsTUOjjAJ2KFnaTXudlvATM5LJfG/Sgh0poMm/Wg=; h=Date:To:From:Subject:Cc:References:In-Reply-To; b=e18id2u2gOmqCrXuKo0nVzosOwKYE6wCXAeVIiLeQSRHeSvdds8ZSJ/kAmyMY4gNq V7eGOAKSA158AHXvQupxJHpG1PhunP9HYrcBVEcW9fsbFmJsxzwzh1f/71i/+p9N9L 95m2CtTn2V1Ewa0Xw24BMWu40/1KM6vUgqcpO6HAAXfhL495VfUB3J/3lnlszizf2F H7DclGoJuEctQbx0UGAVz5vpsCc2lECi0G5irMOV6aWveRNhyK43/cMq4s7CZdopnc IDRC2RcKZVOmssLsD82Klmd1BCEVKuZMy7jrtR3vaC1BWGUM6uyQtrszYmSp7quCdq /EV288g+nMLlg== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 06 Aug 2026 23:16:31 +0200 Message-Id: To: "Alexandre Courbot" From: "Danilo Krummrich" Subject: Re: [PATCH v2 2/3] rust: dma: rename dma_handle to dma_address Cc: "Alice Ryhl" , "David Airlie" , "Simona Vetter" , "Abdiel Janulgue" , "Daniel Almeida" , "Robin Murphy" , "Andreas Hindborg" , "Miguel Ojeda" , "Boqun Feng" , "Gary Guo" , =?utf-8?q?Bj=C3=B6rn_Roy_Baron?= , "Benno Lossin" , "Trevor Gross" , "Tamir Duberstein" , =?utf-8?q?Onur_=C3=96zkan?= , "John Hubbard" , "Alistair Popple" , "Timur Tabi" , "Eliot Courtney" , "Zhi Wang" , , , , , References: <20260805-falcon-dma-projections-v2-0-4cc9f3f13ee9@nvidia.com> <20260805-falcon-dma-projections-v2-2-4cc9f3f13ee9@nvidia.com> In-Reply-To: <20260805-falcon-dma-projections-v2-2-4cc9f3f13ee9@nvidia.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Wed Aug 5, 2026 at 7:01 AM CEST, Alexandre Courbot wrote: > pub struct Coherent { > dev: ARef, > - dma_handle: DmaAddress, > + dma_addr: DmaAddress, > cpu_addr: NonNull, > dma_attrs: Attrs, > } >From the perspective of the DMA API the value actually serves as a handle f= or the C API, so we could have also renamed the accessor only. But I think it = is fine either way.