commit | c457d5abf8d370d710132b28aa17ce528e0866e3 | [log] [tgz] |
---|---|---|
author | Ohad Sharabi <osharabi@habana.ai> | Sun Jun 20 11:00:26 2021 +0300 |
committer | Oded Gabbay <ogabbay@kernel.org> | Sun Aug 29 09:47:48 2021 +0300 |
tree | 33dcd9679b0a3d075e1cebad95ca1da02e598fed | |
parent | a6cd2551d7874ce276ff64348471a9e22ce35020 [diff] |
habanalabs: get multiple fences under same cs_lock To add proper support for wait-for-multi-CS, locking the CS lock for each CS fence in the list is not efficient. Instead, this patch add support to lock the CS lock once to get all required fences. Signed-off-by: Ohad Sharabi <osharabi@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>