Files
linux-stable-mirror/rust/kernel
Lyude Paul e64b9cc293 rust: drm: Add gem::impl_aref_for_gem_obj!
In the future we're going to be introducing more GEM object types in rust
then just gem::Object<T>. Since all types of GEM objects have refcounting,
let's introduce a macro that we can use in the gem crate in order to copy
this boilerplate implementation for each type: impl_aref_for_gem_obj!().

Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com>
Reviewed-by: Janne Grunau <j@jananu.net>
Tested-by: Deborah Brouwer <deborah.brouwer@collabora.com>
Link: https://patch.msgid.link/20260316211646.650074-2-lyude@redhat.com
[ Resolve merge conflicts. - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
2026-03-26 02:05:29 +01:00
..
2025-11-29 10:41:09 -08:00
2026-03-17 20:04:11 +01:00
2026-03-24 23:51:23 +01:00
2026-03-10 16:07:33 +09:00
2026-02-01 22:18:24 +01:00
2026-01-30 05:47:05 +01:00
2025-12-28 12:43:56 +01:00