diff options
| author | Tomer Tayar <ttayar@habana.ai> | 2022-09-30 14:36:27 +0300 |
|---|---|---|
| committer | Oded Gabbay <ogabbay@kernel.org> | 2022-11-23 16:13:40 +0200 |
| commit | 1eebb259290b1be5398fec953bdd7923a5cbf33e (patch) | |
| tree | d79afddb3a7503f7c9269a1895b00b2b5323835a /scripts/gdb/linux/proc.py | |
| parent | 51236cd95e7bcea41e57fb2cf238312be21dcf58 (diff) | |
habanalabs: move reset workqueue to be under hl_device
'struct hl_device_reset_work' is used as a wrapper for the reset work
and its parameters, including the reset workqueue on which it runs.
In a future commit, another reset related work with similar parameters
is going to be added, but it won't use the reset workqueue.
As in any case there is a single reset workqueue, and to allow the resue
of this structure, move the reset workqueue to 'struct hl_device'.
Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
