aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTomer Tayar <[email protected]>2023-05-10 18:18:05 +0300
committerOded Gabbay <[email protected]>2023-10-09 12:37:17 +0300
commita35c99760146137bbcfafe82ed5dc9c7a00b640a (patch)
treebe25d26f4e75abbaa249de2e2bd428b3a6b9d2f3 /tools/perf/scripts/python
parent5d89ce6f8c2775b926b63c14529c5970429ea935 (diff)
accel/habanalabs: update pending reset flags with new reset requests
If hl_device_cond_reset() is called while a reset is already pending but hasn't started, the reset request will be dropped. If the flags of the new request are more severe, e.g. a hard reset while the pending reset is a compute reset, the eventual reset won't be suitable for the device status. To prevent such cases, update the pending reset flags with the new requests flags before the requests are dropped. 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