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:06 +0000
committerTejun Heo <[email protected]>2023-09-25 19:46:42 +0000
commit115c95e9e14c482682080598907e6a18091fd0af (patch)
tree1628ae3751ab583e7b802f6b415430c37ddead7c /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentrust: workqueue: implement `WorkItemPointer` for pointer types (diff)
downloadkernel-115c95e9e14c482682080598907e6a18091fd0af.tar.gz
kernel-115c95e9e14c482682080598907e6a18091fd0af.zip
rust: workqueue: add `try_spawn` helper method
This adds a convenience method that lets you spawn a closure for execution on a workqueue. This will be the most convenient way to use workqueues, but it is fallible because it needs to allocate memory. 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