[PATCH 0/4] drm: Rust GEM bindings cleanup

From: Lyude Paul
Date: Thu May 01 2025 - 14:37:42 EST


Just some patches to fix a handful of minor issues, some of which were already
mentioned on the mailing list. Some of these patches also make it just a
little bit easier to add the shmem bindings from Asahi in the future.

This patch series applies on top of dakr's nova-next branch:
https://gitlab.freedesktop.org/drm/nova/-/tree/nova-next

Lyude Paul (4):
rust: drm: gem: Use NonNull for Object::dev
rust: drm: gem: Refactor IntoGEMObject::from_gem_obj() to as_ref()
rust: drm: gem: s/into_gem_obj()/as_gem_obj()/
rust: drm: gem: Implement AlwaysRefCounted for all gem objects
automatically

rust/kernel/drm/gem/mod.rs | 141 ++++++++++++++++++++-----------------
1 file changed, 76 insertions(+), 65 deletions(-)


base-commit: 3be746ebc1e6e32f499a65afe405df9030153a63
--
2.48.1