diff options
| author | Oded Gabbay <[email protected]> | 2020-09-23 15:06:52 +0300 |
|---|---|---|
| committer | Oded Gabbay <[email protected]> | 2020-09-25 14:44:20 +0300 |
| commit | 9e2e8fc7d65c9c2b58a4bf5b6c62a6fbb3762d05 (patch) | |
| tree | 4d761242e909959d50c897d96a91f3a1ded55cb7 /tools/perf/scripts/python | |
| parent | fc6121e961cba2e4790493f656b7066e250f9521 (diff) | |
habanalabs: release kernel context after hw_fini
Some engines use resources that belong to the kernel context (e.g. MMU
mappings). In case the halt-engines doesn't work properly due to H/W
restriction, we need to make sure the kernel context lives on until after
the hw_fini. The hw_fini resets the ASIC after that no engine is alive and
we can safely close the kernel context.
Reviewed-by: Tomer Tayar <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions