commit | cbaa99ed1b697072f089693a7fe2d649d08bf317 | [log] [tgz] |
---|---|---|
author | Oded Gabbay <oded.gabbay@gmail.com> | Sun Mar 03 15:13:15 2019 +0200 |
committer | Oded Gabbay <oded.gabbay@gmail.com> | Sun Mar 03 15:13:15 2019 +0200 |
tree | 0af62e0d486c1aae0539c7d44cc3ddc3bbf26107 | |
parent | d12a5e2458d49aad2b7d25766794eec95ae8f6f1 [diff] |
habanalabs: perform accounting for active CS This patch adds accounting for active CS. Active means that the CS was submitted to the H/W queues and was not completed yet. This is necessary to support suspend operation. Because the device will be reset upon suspend, we can only suspend after all active CS have been completed. Hence, we need to perform accounting on their number. Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>