On Fri, May 16, 2025 at 01:09:15PM -0400, Lyude Paul wrote: > 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
This rework breaks nova-drm, which, given that this series either needs to land in nova-next or (which is much more likely) targets v6.17 merge window, needs to be fixed in this series. > 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 >