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:07 +0000
committerTejun Heo <[email protected]>2023-09-25 19:46:42 +0000
commit15b286d1fd056b0366bc8d211ff2c4ce2449eacb (patch)
tree7fdf27b5adeffca0f1fd65d02dab33d72e762c4b /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentrust: workqueue: add `try_spawn` helper method (diff)
downloadkernel-15b286d1fd056b0366bc8d211ff2c4ce2449eacb.tar.gz
kernel-15b286d1fd056b0366bc8d211ff2c4ce2449eacb.zip
rust: workqueue: add examples
This adds two examples of how to use the workqueue. The first example shows how to use it when you only have one `work_struct` field, and the second example shows how to use it when you have multiple `work_struct` fields. Signed-off-by: Alice Ryhl <[email protected]> Reviewed-by: Martin Rodriguez Reboredo <[email protected]> Reviewed-by: Gary Guo <[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