aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorAlice Ryhl <[email protected]>2023-08-28 10:48:05 +0000
committerTejun Heo <[email protected]>2023-09-25 19:46:42 +0000
commit47f0dbe8fdc28e6e79505b640619e0cbccb91cef (patch)
treee5c09abac48525d12becd5b1b8b9350a24ab588f /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentrust: workqueue: add helper for defining work_struct fields (diff)
downloadkernel-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