public inbox for rust-for-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v8 0/7] Rust bindings for gem shmem + iosys_map
@ 2026-03-11 19:52 Lyude Paul
  2026-03-11 19:52 ` [PATCH v8 1/7] rust: drm: Add gem::impl_aref_for_gem_obj! Lyude Paul
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Lyude Paul @ 2026-03-11 19:52 UTC (permalink / raw)
  To: nouveau, Gary Guo, Daniel Almeida, rust-for-linux
  Cc: Matthew Maurer, FUJITA Tomonori, Lorenzo Stoakes,
	christian.koenig, Asahi Lina, Miguel Ojeda, Andreas Hindborg,
	Simona Vetter, Alice Ryhl, Boqun Feng, Sumit Semwal,
	Krishna Ketan Rai, linux-media, Shankari Anand, David Airlie,
	Benno Lossin, Viresh Kumar, linaro-mm-sig, Asahi Lina,
	Greg Kroah-Hartman, kernel

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/

This patch series may be applied on top of the
driver-core/driver-core-testing branch:

https://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git/log/?h=driver-core-testing

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 (5):
  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: drm/gem: Add vmap functions to shmem bindings

 drivers/gpu/drm/nova/gem.rs     |   5 +-
 drivers/gpu/drm/tyr/gem.rs      |   3 +-
 rust/bindings/bindings_helper.h |   3 +
 rust/helpers/dma-resv.c         |  13 +
 rust/helpers/drm.c              |  56 +++-
 rust/helpers/helpers.c          |   1 +
 rust/kernel/drm/gem/mod.rs      |  79 +++--
 rust/kernel/drm/gem/shmem.rs    | 529 ++++++++++++++++++++++++++++++++
 8 files changed, 667 insertions(+), 22 deletions(-)
 create mode 100644 rust/helpers/dma-resv.c
 create mode 100644 rust/kernel/drm/gem/shmem.rs

-- 
2.53.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-03-13 19:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-11 19:52 [PATCH v8 0/7] Rust bindings for gem shmem + iosys_map Lyude Paul
2026-03-11 19:52 ` [PATCH v8 1/7] rust: drm: Add gem::impl_aref_for_gem_obj! Lyude Paul
2026-03-11 19:52 ` [PATCH v8 2/7] rust: drm: gem: Add raw_dma_resv() function Lyude Paul
2026-03-11 19:52 ` [PATCH v8 3/7] rust: helpers: Add bindings/wrappers for dma_resv_lock Lyude Paul
2026-03-11 19:52 ` [PATCH v8 4/7] rust: gem: Introduce DriverObject::Args Lyude Paul
2026-03-11 19:52 ` [PATCH v8 5/7] rust: drm: gem: shmem: Add DRM shmem helper abstraction Lyude Paul
2026-03-11 19:52 ` [PATCH v8 6/7] rust: drm: gem: Introduce shmem::SGTable Lyude Paul
2026-03-11 19:52 ` [PATCH v8 7/7] rust: drm/gem: Add vmap functions to shmem bindings Lyude Paul
2026-03-11 20:22   ` Lyude Paul
2026-03-13 19:31 ` [PATCH v8 0/7] Rust bindings for gem shmem + iosys_map Deborah Brouwer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox