[PATCH v2 0/4] rust: drm: gem: More (and final) cleanup

Lyude Paul lyude at redhat.com
Fri May 16 17:09:15 UTC 2025


Look mom, no generic soup!

Anyway - this is just the last of the cleanup stuff I ended up while
working on cleaning up the gem shmem patch series. It simplifies the use
of generics and also adds a type alias for some very long types
currently in use. Also, drop one unused constant I noticed.

Applies on top of nova/nova-next:
  https://gitlab.freedesktop.org/drm/nova/-/tree/nova-next

Lyude Paul (4):
  rust: drm: gem: Simplify use of generics
  rust: drm: gem: Add DriverObject type alias
  rust: drm: gem: Add ObjectFile type alias
  rust: drm: gem: Drop Object::SIZE

 rust/kernel/drm/gem/mod.rs | 102 ++++++++++++++++---------------------
 1 file changed, 44 insertions(+), 58 deletions(-)


base-commit: 38cb08c3fcd3f3b1d0225dcec8ae50fab5751549
-- 
2.49.0



More information about the dri-devel mailing list