|
|
Log in / Subscribe / Register

Rust bindings for gem shmem

From:  Lyude Paul <lyude-AT-redhat.com>
To:  dri-devel-AT-lists.freedesktop.org, rust-for-linux-AT-vger.kernel.org, nouveau-AT-lists.freedesktop.org
Subject:  [PATCH v15 0/6] Rust bindings for gem shmem
Date:  Fri, 29 May 2026 14:33:58 -0400
Message-ID:  <20260529183702.677677-1-lyude@redhat.com>
Cc:  Alexandre Courbot <acourbot-AT-nvidia.com>, Gary Guo <gary-AT-garyguo.net>, Christian König <christian.koenig-AT-amd.com>, driver-core-AT-lists.linux.dev, Miguel Ojeda <ojeda-AT-kernel.org>, Maarten Lankhorst <maarten.lankhorst-AT-linux.intel.com>, Alice Ryhl <aliceryhl-AT-google.com>, Simona Vetter <simona-AT-ffwll.ch>, linux-kernel-AT-vger.kernel.org, Sumit Semwal <sumit.semwal-AT-linaro.org>, linux-media-AT-vger.kernel.org, "Rafael J . Wysocki" <rafael-AT-kernel.org>, Thomas Zimmermann <tzimmermann-AT-suse.de>, Maxime Ripard <mripard-AT-kernel.org>, David Airlie <airlied-AT-gmail.com>, Benno Lossin <lossin-AT-kernel.org>, linaro-mm-sig-AT-lists.linaro.org, Danilo Krummrich <dakr-AT-kernel.org>, Mukesh Kumar Chaurasiya <mkchauras-AT-gmail.com>, Asahi Lina <lina+kernel-AT-asahilina.net>, Daniel Almeida <daniel.almeida-AT-collabora.com>, Lyude Paul <lyude-AT-redhat.com>, Greg Kroah-Hartman <gregkh-AT-linuxfoundation.org>
Archive-link:  Article

Most of this patch series has already been pushed upstream, this is just
the second half of the patch series that has not been pushed yet + some
additional changes which were required to implement changes requested by
the mailing list. This patch series is originally from Asahi, previously
posted by Daniel Almeida.

The previous version of the patch series can be found here:

	https://patchwork.freedesktop.org/series/164580/

Branch with patches applied available here:

	https://gitlab.freedesktop.org/lyudess/linux/-/commits/ru...

This patch series applies on top of drm-rust-next with the following
dependencies applied:

	https://lore.kernel.org/rust-for-linux/20260529173137.303...

Lyude Paul (6):
  rust: gem: shmem: Fix Default implementation for ObjectConfig
  rust: drm: gem/shmem: Add DmaResvGuard helper
  rust: drm: gem: Add vmap functions to shmem bindings
  rust: faux: Allow retrieving a bound Device
  drm/gem/shmem: Introduce __drm_gem_shmem_free_sgt_locked()
  rust: drm: gem: Introduce shmem::Object::sg_table()

 drivers/gpu/drm/drm_gem_shmem_helper.c |  32 +-
 include/drm/drm_gem_shmem_helper.h     |   1 +
 rust/kernel/drm/gem/shmem.rs           | 497 ++++++++++++++++++++++++-
 rust/kernel/faux.rs                    |   7 +-
 4 files changed, 512 insertions(+), 25 deletions(-)


base-commit: 0e42ec83d46ab8877d38d37493328ed7d1a24de8
prerequisite-patch-id: c8ade07eec6e9c9e875800b114137c459d362e4e
prerequisite-patch-id: c38da06dbc4cfd2589bf2e7e9f0ebaa4da521ddf
-- 
2.54.0




Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds