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 * Adds a type alias for some very long type names * Moves stuff around to enable a feature Asahi originally intended to support with these bindings - driver private gem objects. 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 DriverFile type alias rust: drm: gem: Drop Object::SIZE rust: drm: gem: Support driver-private GEM object types drivers/gpu/drm/nova/driver.rs | 4 +- drivers/gpu/drm/nova/gem.rs | 9 ++- rust/kernel/drm/device.rs | 17 ++--- rust/kernel/drm/driver.rs | 5 +- rust/kernel/drm/gem/mod.rs | 110 ++++++++++++++++----------------- 5 files changed, 72 insertions(+), 73 deletions(-) base-commit: 276c53c66e032c8e7cc0da63555f2742eb1afd69 -- 2.49.0