diff options
| author | Alice Ryhl <[email protected]> | 2023-08-28 10:48:05 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2023-09-25 19:46:42 +0000 |
| commit | 47f0dbe8fdc28e6e79505b640619e0cbccb91cef (patch) | |
| tree | e5c09abac48525d12becd5b1b8b9350a24ab588f /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | rust: workqueue: add helper for defining work_struct fields (diff) | |
| download | kernel-47f0dbe8fdc28e6e79505b640619e0cbccb91cef.tar.gz kernel-47f0dbe8fdc28e6e79505b640619e0cbccb91cef.zip | |
rust: workqueue: implement `WorkItemPointer` for pointer types
This implements the `WorkItemPointer` trait for the pointer types that
you are likely to use the workqueue with. The `Arc` type is for
reference counted objects, and the `Pin<Box<T>>` type is for objects
where the caller has exclusive ownership of the object.
Co-developed-by: Gary Guo <[email protected]>
Signed-off-by: Gary Guo <[email protected]>
Signed-off-by: Alice Ryhl <[email protected]>
Reviewed-by: Martin Rodriguez Reboredo <[email protected]>
Reviewed-by: "Andreas Hindborg (Samsung)" <[email protected]>
Reviewed-by: Benno Lossin <[email protected]>
Reviewed-by: Boqun Feng <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions
