[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250908220657.165715-1-lyude@redhat.com>
Date: Mon, 8 Sep 2025 18:04:43 -0400
From: Lyude Paul <lyude@...hat.com>
To: dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org,
rust-for-linux@...r.kernel.org
Cc: Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>,
Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <lossin@...nel.org>,
Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>,
Trevor Gross <tmgross@...ch.edu>,
Danilo Krummrich <dakr@...nel.org>
Subject: [PATCH 0/2] rust/drm: Remove blanket AlwaysRefCounted impl for gem
This patch series simply drops an blanket implementation of
AlwaysRefCounted for gem objects, which would cause issues if any other
additional blanket implementations of AlwaysRefCounted were present
within the same rust crate. While we're at it, we also introduce a macro
in lieu of being able to use a blanket implementation.
Lyude Paul (2):
Partially revert "rust: drm: gem: Implement AlwaysRefCounted for all
gem objects automatically"
rust/drm: Add gem::impl_aref_for_gem_obj!
rust/kernel/drm/gem/mod.rs | 59 +++++++++++++++++++++++++-------------
1 file changed, 39 insertions(+), 20 deletions(-)
base-commit: 6b35936f058d0cb9171c7be1424b62017b874913
--
2.51.0
Powered by blists - more mailing lists