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 087C4D3B7D0 for ; Sat, 6 Dec 2025 16:12:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4969710E137; Sat, 6 Dec 2025 16:12:19 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=jannau.net header.i=@jannau.net header.b="hkTUx/OL"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="N+ZT6ZsE"; dkim-atps=neutral Received: from fout-b5-smtp.messagingengine.com (fout-b5-smtp.messagingengine.com [202.12.124.148]) by gabe.freedesktop.org (Postfix) with ESMTPS id 245F410E137 for ; Sat, 6 Dec 2025 16:12:18 +0000 (UTC) Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfout.stl.internal (Postfix) with ESMTP id 2E9E31D00166; Sat, 6 Dec 2025 11:12:17 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Sat, 06 Dec 2025 11:12:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jannau.net; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1765037537; x=1765123937; bh=MTIdpj+rpv 3945oOw4R8hSyX7wcBsVw+Ac3eE8LU0JQ=; b=hkTUx/OLreMr/z5lZsL9Q86a4a BbSiyO4LKW8umnLoRlgkS/3SnQHcOGcLdXk5S0shov+IHpecw5AKyfpOXqkqqfvu Q2vZ17fUVQyp5mNP98DGb4DYYEcdoBwCInwF8AZrUrESORVWaAsdNLbffERpjVvC nrDafePEZJlGEBY0CufxEDrK4anuq/GNldd889f3mGwcTyBEJEcus15+pp605Onu 9TZCRr1K16sGp4JxwzS5LR9u1EjfLQM9N3ge2whG7AOiKjcNLGtHrS4KKopBYYTr gffGgk6nuw8sqopV3QI3dMgfxizakcddqUP/B53hNUeK2GpzYD89CtObUlrg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1765037537; x=1765123937; bh=MTIdpj+rpv3945oOw4R8hSyX7wcBsVw+Ac3 eE8LU0JQ=; b=N+ZT6ZsELzpHm9Lw8KmJs5RXhjVfUIDu58W/N7512hRYFyVyHo6 /GY4VwaSVtayJT8hg+3D16bt3ki0Rsejce0YFqZQuY6dWVtdT/Ib689+t/SR7/Sm R178ENkIEOneS1bf0hos7G4PemcQ3KireviOMB3vR362FR/DckmnwEXh2KbixQm4 9w02EvBedESDFx7gTxJq8Vb4a1upjp28Y/CpCmTYZUQiUdm5v1WC91TQ9JcVQhko RCPHTJ+bZ3WpE4Ky9HQOfgYn7qsEjp3HZpiEAsizjab/pwTvZsu7ly1GzDjwF3fh ijQVs9nR+yP4TkRs0pfVY1L4/6kr+Bg18Zg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdduudefkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpeffhffvvefukfhfgggtuggjsehttdertddttdejnecuhfhrohhmpeflrghnnhgvucfi rhhunhgruhcuoehjsehjrghnnhgruhdrnhgvtheqnecuggftrfgrthhtvghrnhepudefte evvdduhfeugfehuddtlefgkeevtdeggfegteeiieegvdevhefhgeetleefnecuffhomhgr ihhnpehfrhgvvgguvghskhhtohhprdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepjhesjhgrnhhnrghurdhnvghtpdhnsggprhgtphht thhopeduhedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoheplhihuhguvgesrhgvug hhrghtrdgtohhmpdhrtghpthhtohepughrihdquggvvhgvlheslhhishhtshdrfhhrvggv uggvshhkthhophdrohhrghdprhgtphhtthhopehruhhsthdqfhhorhdqlhhinhhugiesvh hgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopegrlhhitggvrhihhhhlsehgohho ghhlvgdrtghomhdprhgtphhtthhopegurghnihgvlhdrrghlmhgvihgurgestgholhhlrg gsohhrrgdrtghomhdprhgtphhtthhopegurghkrheskhgvrhhnvghlrdhorhhgpdhrtghp thhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtg hpthhtohepohhjvggurgeskhgvrhhnvghlrdhorhhgpdhrtghpthhtoheprghlvgigrdhg rgihnhhorhesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: i47b949f6:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 6 Dec 2025 11:12:15 -0500 (EST) Date: Sat, 6 Dec 2025 17:12:14 +0100 From: Janne Grunau To: Lyude Paul Cc: dri-devel@lists.freedesktop.org, rust-for-linux@vger.kernel.org, Alice Ryhl , Daniel Almeida , Danilo Krummrich , linux-kernel@vger.kernel.org, Miguel Ojeda , Alex Gaynor , Boqun Feng , Gary Guo , =?utf-8?B?QmrDtnJu?= Roy Baron , Benno Lossin , Andreas Hindborg , Trevor Gross Subject: Re: [PATCH v6 0/8] Rust bindings for gem shmem + iosys_map Message-ID: <20251206161214.GD1097212@robin.jannau.net> References: <20251202220924.520644-1-lyude@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20251202220924.520644-1-lyude@redhat.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 Tue, Dec 02, 2025 at 05:03:26PM -0500, Lyude Paul wrote: > This is the next version of the shmem backed GEM objects series > originally from Asahi, previously posted by Daniel Almeida. > > One of the major changes in this patch series is a much better interface > around vmaps, which we achieve by introducing a new set of rust bindings > for iosys_map. > > The previous version of the patch series can be found here: > > https://patchwork.freedesktop.org/series/156093/ > > Changelogs are per-patch > > Asahi Lina (2): > rust: helpers: Add bindings/wrappers for dma_resv_lock > rust: drm: gem: shmem: Add DRM shmem helper abstraction > > Lyude Paul (6): > rust/drm: Add gem::impl_aref_for_gem_obj! > rust: drm: gem: Add raw_dma_resv() function > rust: gem: Introduce DriverObject::Args > rust: drm: gem: Introduce shmem::SGTable > rust: Introduce iosys_map bindings > rust: drm/gem: Add vmap functions to shmem bindings whole series is tested with the asahi (Apple silicon GPU driver) on top of v6.18 plus further modifications. Tested-by: Janne Grunau Patches I did not reply to directly are Reviewed-by: Janne Grunau Janne