public inbox for drm-ai-reviews@public-inbox.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH v14 0/6] rust: drm: gem: shmem: Add sg_table() function
@ 2026-05-26 21:28 Lyude Paul
  2026-05-26 21:28 ` [PATCH v14 1/6] rust: faux: Allow retrieving a bound Device Lyude Paul
                   ` (6 more replies)
  0 siblings, 7 replies; 17+ messages in thread
From: Lyude Paul @ 2026-05-26 21:28 UTC (permalink / raw)
  To: dri-devel, rust-for-linux, nouveau
  Cc: Alexandre Courbot, Gary Guo, Christian König, driver-core,
	Miguel Ojeda, Maarten Lankhorst, Alice Ryhl, Simona Vetter,
	linux-kernel, Sumit Semwal, linux-media, Rafael J . Wysocki,
	Thomas Zimmermann, Maxime Ripard, David Airlie, Benno Lossin,
	linaro-mm-sig, Danilo Krummrich, Mukesh Kumar Chaurasiya,
	Asahi Lina, Daniel Almeida, Lyude Paul, Greg Kroah-Hartman

(was previously Rust bindings for gem shmem)

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/rust/gem-shmem

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

	https://lkml.org/lkml/2026/5/26/1960

Lyude Paul (6):
  rust: faux: Allow retrieving a bound Device
  rust: gem: shmem: Fix Default implementation for ObjectConfig
  rust: drm: gem: s/device::Device/Device/ for shmem.rs
  drm/gem/shmem: Introduce __drm_gem_shmem_free_sgt_locked()
  rust: drm: gem/shmem: Add DmaResvGuard helper
  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           | 264 +++++++++++++++++++++++--
 rust/kernel/faux.rs                    |   7 +-
 4 files changed, 279 insertions(+), 25 deletions(-)


base-commit: 2cf1840b0fa7637b6731fd554529f8d57ea34c04
prerequisite-patch-id: c8ade07eec6e9c9e875800b114137c459d362e4e
prerequisite-patch-id: dc4f750bc885b867842587b994261f43602bc6a8
-- 
2.54.0


^ permalink raw reply	[flat|nested] 17+ messages in thread
* [PATCH v12 0/5] Rust bindings for gem shmem
@ 2026-04-21 23:52 Lyude Paul
  2026-04-21 23:52 ` [PATCH v12 1/5] rust: drm: gem: s/device::Device/Device/ for shmem.rs Lyude Paul
  0 siblings, 1 reply; 17+ messages in thread
From: Lyude Paul @ 2026-04-21 23:52 UTC (permalink / raw)
  To: nouveau, Gary Guo, Daniel Almeida, rust-for-linux,
	Danilo Krummrich, dri-devel
  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

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
sure this builds:

	https://gitlab.freedesktop.org/lyudess/linux/-/commits/rust/gem-shmem

This patch series applies on top of drm-rust-next

Lyude Paul (5):
  rust: drm: gem: s/device::Device/Device/ for shmem.rs
  drm/gem/shmem: Introduce __drm_gem_shmem_free_sgt_locked()
  drm/gem/shmem: Export drm_gem_shmem_get_pages_sgt_locked()
  rust: drm: gem: Introduce shmem::SGTable
  rust: drm: gem: Add vmap functions to shmem bindings

 drivers/gpu/drm/drm_gem_shmem_helper.c |  48 ++-
 include/drm/drm_gem_shmem_helper.h     |   2 +
 rust/kernel/drm/gem/shmem.rs           | 557 ++++++++++++++++++++++++-
 3 files changed, 593 insertions(+), 14 deletions(-)


base-commit: a7a080bb4236ebe577b6776d940d1717912ff6dd
-- 
2.53.0


^ permalink raw reply	[flat|nested] 17+ messages in thread
* [PATCH v11 0/5] Rust bindings for gem shmem
@ 2026-04-21 23:40 Lyude Paul
  2026-04-21 23:40 ` [PATCH v11 1/5] rust: drm: gem: s/device::Device/Device/ for shmem.rs Lyude Paul
  0 siblings, 1 reply; 17+ messages in thread
From: Lyude Paul @ 2026-04-21 23:40 UTC (permalink / raw)
  To: nouveau, Gary Guo, Daniel Almeida, rust-for-linux,
	Danilo Krummrich, dri-devel
  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

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 (+ a hack required to make
sure this builds:

	https://gitlab.freedesktop.org/lyudess/linux/-/commits/rust/gem-shmem

This patch series applies on top of drm-rust-next

Lyude Paul (5):
  rust: drm: gem: s/device::Device/Device/ for shmem.rs
  drm/gem/shmem: Introduce __drm_gem_shmem_free_sgt_locked()
  drm/gem/shmem: Export drm_gem_shmem_get_pages_sgt_locked()
  rust: drm: gem: Introduce shmem::SGTable
  rust: drm: gem: Add vmap functions to shmem bindings

 drivers/gpu/drm/drm_gem_shmem_helper.c |  48 ++-
 include/drm/drm_gem_shmem_helper.h     |   2 +
 rust/kernel/drm/gem/shmem.rs           | 557 ++++++++++++++++++++++++-
 3 files changed, 593 insertions(+), 14 deletions(-)


base-commit: a7a080bb4236ebe577b6776d940d1717912ff6dd
-- 
2.53.0


^ permalink raw reply	[flat|nested] 17+ messages in thread
* [PATCH v10 0/5] Rust bindings for gem shmem
@ 2026-04-09  0:12 Lyude Paul
  2026-04-09  0:12 ` [PATCH v10 1/5] rust: drm: gem: s/device::Device/Device/ for shmem.rs Lyude Paul
  0 siblings, 1 reply; 17+ messages in thread
From: Lyude Paul @ 2026-04-09  0:12 UTC (permalink / raw)
  To: nouveau, Gary Guo, Daniel Almeida, rust-for-linux,
	Danilo Krummrich, dri-devel
  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

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:

(apparently it mistakenly was not sent to dri-devel, so no patchwork ):

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

Branch with patches applied available here (+ a hack required to make
sure this builds:

	https://gitlab.freedesktop.org/lyudess/linux/-/commits/rust/gem-shmem

Lyude Paul (5):
  rust: drm: gem: s/device::Device/Device/ for shmem.rs
  drm/gem/shmem: Introduce __drm_gem_shmem_free_sgt_locked()
  drm/gem/shmem: Export drm_gem_shmem_get_pages_sgt_locked()
  rust: drm: gem: Introduce shmem::SGTable
  rust: drm: gem: Add vmap functions to shmem bindings

 drivers/gpu/drm/drm_gem_shmem_helper.c |  48 ++-
 include/drm/drm_gem_shmem_helper.h     |   2 +
 rust/kernel/drm/gem/shmem.rs           | 553 ++++++++++++++++++++++++-
 3 files changed, 590 insertions(+), 13 deletions(-)


base-commit: a7a080bb4236ebe577b6776d940d1717912ff6dd
-- 
2.53.0


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

end of thread, other threads:[~2026-05-27  4:05 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-26 21:28 [PATCH v14 0/6] rust: drm: gem: shmem: Add sg_table() function Lyude Paul
2026-05-26 21:28 ` [PATCH v14 1/6] rust: faux: Allow retrieving a bound Device Lyude Paul
2026-05-27  4:05   ` Claude review: " Claude Code Review Bot
2026-05-26 21:28 ` [PATCH v14 2/6] rust: gem: shmem: Fix Default implementation for ObjectConfig Lyude Paul
2026-05-27  4:05   ` Claude review: " Claude Code Review Bot
2026-05-26 21:28 ` [PATCH v14 3/6] rust: drm: gem: s/device::Device/Device/ for shmem.rs Lyude Paul
2026-05-27  4:05   ` Claude review: " Claude Code Review Bot
2026-05-26 21:28 ` [PATCH v14 4/6] drm/gem/shmem: Introduce __drm_gem_shmem_free_sgt_locked() Lyude Paul
2026-05-27  4:05   ` Claude review: " Claude Code Review Bot
2026-05-26 21:28 ` [PATCH v14 5/6] rust: drm: gem/shmem: Add DmaResvGuard helper Lyude Paul
2026-05-27  4:05   ` Claude review: " Claude Code Review Bot
2026-05-26 21:28 ` [PATCH v14 6/6] rust: drm: gem: Introduce shmem::Object::sg_table() Lyude Paul
2026-05-27  4:05   ` Claude review: " Claude Code Review Bot
2026-05-27  4:05 ` Claude review: rust: drm: gem: shmem: Add sg_table() function Claude Code Review Bot
  -- strict thread matches above, loose matches on Subject: below --
2026-04-21 23:52 [PATCH v12 0/5] Rust bindings for gem shmem Lyude Paul
2026-04-21 23:52 ` [PATCH v12 1/5] rust: drm: gem: s/device::Device/Device/ for shmem.rs Lyude Paul
2026-04-22 22:05   ` Claude review: " Claude Code Review Bot
2026-04-21 23:40 [PATCH v11 0/5] Rust bindings for gem shmem Lyude Paul
2026-04-21 23:40 ` [PATCH v11 1/5] rust: drm: gem: s/device::Device/Device/ for shmem.rs Lyude Paul
2026-04-22 22:09   ` Claude review: " Claude Code Review Bot
2026-04-09  0:12 [PATCH v10 0/5] Rust bindings for gem shmem Lyude Paul
2026-04-09  0:12 ` [PATCH v10 1/5] rust: drm: gem: s/device::Device/Device/ for shmem.rs Lyude Paul
2026-04-12  2:01   ` Claude review: " Claude Code Review Bot

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