commit | 649c4592124b0cf1faf044b5f14de208d08ebb50 | [log] [tgz] |
---|---|---|
author | Tomer Tayar <ttayar@habana.ai> | Mon Aug 10 17:30:35 2020 +0300 |
committer | Oded Gabbay <ogabbay@kernel.org> | Mon Nov 30 10:47:33 2020 +0200 |
tree | 08def5e5f6b3b105cc0bd4b19959dca09c373906 | |
parent | 0da5698bf4b8c699e5e5e23d067f5a1bb1bb2401 [diff] |
habanalabs: Separate CS job completion from its deallocation Current CS jobs are no longer needed after their completion. However, jobs of future workload might be in use even after they are completed. To allow that, the patch adds a refcount to the job object, and decouples its completion handling from its deallocation. Signed-off-by: Tomer Tayar <ttayar@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>