Skip to content

rust/drm: Misc. gem bindings cleanup

Lyude Paul dri-devel lkml nouveau rust-for-linux 3 versions – Applied

Status from this message: Applied to drm-rust-next. Thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 4 repliesApplied
  2. v314 patches 21 repliesSuperseded
  3. v212 patches 2 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3rust: drm: gem: Simplify use of genericsdrivers/gpu/drm/nova/gem.rs rust/kernel/drm/driver.rs rust/kernel/drm/gem/mod.rs+40 -481 reply
2/3rust: drm: gem: Add DriverFile type aliasrust/kernel/drm/gem/mod.rs+12 -111 reply
3/3rust: drm: gem: Drop Object::SIZErust/kernel/drm/gem/mod.rs+1 -40 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDaniel AlmeidaDanilo KrummrichAlice Ryhl
SeriesR-b
1/3R-b A-b
2/3R-b A-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/3] rust/drm: Misc. gem bindings cleanup

This is the first few patches that were originally part of the series to introduce gem shmem bindings for rust into the Linux kernel, which can be found here:

https://lkml.org/lkml/2025/8/29/1533

These patches don't have any dependencies besides needing to be applied on top of drm-rust-next.

Lyude Paul (3):
rust: drm: gem: Simplify use of generics
rust: drm: gem: Add DriverFile type alias
rust: drm: gem: Drop Object::SIZE

 drivers/gpu/drm/nova/gem.rs |  8 ++--
 rust/kernel/drm/driver.rs   |  3 ++
 rust/kernel/drm/gem/mod.rs  | 93 ++++++++++++++++---------------------
 3 files changed, 47 insertions(+), 57 deletions(-)

base-commit: e2580413a83680f679904ad2f2c1aa6969876469

Signature · 1 line
2.51.0