diff options
author | 2022-12-28 06:03:43 +0000 | |
---|---|---|
committer | 2023-01-16 23:47:57 +0100 | |
commit | 17f671602cc6a15e65869c387492c5753c6f3cd5 (patch) | |
tree | 1b6d9c637f4aa879d10b5265bf1869f0c67ff53f /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | rust: sync: allow coercion from `Arc<T>` to `Arc<U>` (diff) | |
download | wireguard-linux-17f671602cc6a15e65869c387492c5753c6f3cd5.tar.xz wireguard-linux-17f671602cc6a15e65869c387492c5753c6f3cd5.zip |
rust: sync: introduce `ArcBorrow`
This allows us to create references to a ref-counted allocation without
double-indirection and that still allow us to increment the refcount to
a new `Arc<T>`.
Signed-off-by: Wedson Almeida Filho <wedsonaf@gmail.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Acked-by: Boqun Feng <boqun.feng@gmail.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions