diff options
author | 2023-01-30 03:44:04 -0300 | |
---|---|---|
committer | 2023-02-07 11:24:24 +0100 | |
commit | 0c7ae432576100ce3609bca0508b9fbcb686a5fe (patch) | |
tree | 364a93329a09347c14ec055d46bf2452a63505ea /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | rust: types: implement `ForeignOwnable` for the unit type (diff) | |
download | wireguard-linux-0c7ae432576100ce3609bca0508b9fbcb686a5fe.tar.xz wireguard-linux-0c7ae432576100ce3609bca0508b9fbcb686a5fe.zip |
rust: types: implement `ForeignOwnable` for `Arc<T>`
This allows us to hand ownership of Rust ref-counted objects to
the C side of the kernel.
Signed-off-by: Wedson Almeida Filho <wedsonaf@gmail.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Reviewed-by: Alice Ferrazzi <alice.ferrazzi@miraclelinux.com>
Reviewed-by: Andreas Hindborg <a.hindborg@samsung.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