aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTomer Tayar <[email protected]>2022-11-30 12:07:06 +0200
committerOded Gabbay <[email protected]>2023-01-26 10:56:21 +0200
commit086ab54ac00ca8c2614311a8acf9a3b19760eecc (patch)
tree1134e5ad0b8d2e9da6cfad67621d10cc90c68bf6 /tools/perf/scripts/python
parent853413b234b002597df19f092892a1b1f52a2a47 (diff)
habanalabs: skip device idle check in hpriv_release if in reset
When user context is released and hpriv_release() is called, there is a device idle status check, to understand if user has left the device not idle and then a reset is required. However, if the user process is killed because of device hard reset, the device at this point would always be not idle, because the device engines were already forcefully halted. Modify hpriv_release() to skip the idle check if reset is in progress. Signed-off-by: Tomer Tayar <[email protected]> Reviewed-by: Oded Gabbay <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions