rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] rust: drm: gem: More (and final) cleanup
@ 2025-05-16 17:09 Lyude Paul
  2025-05-16 17:09 ` [PATCH v2 1/4] rust: drm: gem: Simplify use of generics Lyude Paul
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Lyude Paul @ 2025-05-16 17:09 UTC (permalink / raw)
  To: dri-devel, linux-kernel, rust-for-linux
  Cc: Miguel Ojeda, Alex Gaynor, Boqun Feng, Gary Guo,
	Björn Roy Baron, Benno Lossin, Andreas Hindborg, Alice Ryhl,
	Trevor Gross, Danilo Krummrich

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


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

end of thread, other threads:[~2025-05-19 22:26 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-16 17:09 [PATCH v2 0/4] rust: drm: gem: More (and final) cleanup Lyude Paul
2025-05-16 17:09 ` [PATCH v2 1/4] rust: drm: gem: Simplify use of generics Lyude Paul
2025-05-19 22:26   ` Lyude Paul
2025-05-16 17:09 ` [PATCH v2 2/4] rust: drm: gem: Add DriverObject type alias Lyude Paul
2025-05-17 11:32   ` Danilo Krummrich
2025-05-16 17:09 ` [PATCH v2 3/4] rust: drm: gem: Add ObjectFile " Lyude Paul
2025-05-17 11:37   ` Danilo Krummrich
2025-05-19 22:24     ` Lyude Paul
2025-05-16 17:09 ` [PATCH v2 4/4] rust: drm: gem: Drop Object::SIZE Lyude Paul
2025-05-17 11:37   ` Danilo Krummrich
2025-05-17 11:31 ` [PATCH v2 0/4] rust: drm: gem: More (and final) cleanup Danilo Krummrich
2025-05-19 19:34   ` Lyude Paul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).