habanalabs: move relevant datapath work outside cs lock
authorOfir Bitton <obitton@habana.ai>
Thu, 18 Mar 2021 15:36:57 +0000 (17:36 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Fri, 9 Apr 2021 11:09:24 +0000 (14:09 +0300)
commit8445dde1b9fb8025ef05c148966f384a4d014824
treeb913954b737bdb945665c20e40d14a4a41233436
parent2f6274e4773570ab763d5a588504ff35b908b2cf
habanalabs: move relevant datapath work outside cs lock

In order to shorten the time cs lock is being held, we move any
possible work outside of the cs lock.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/command_submission.c
drivers/misc/habanalabs/common/device.c
drivers/misc/habanalabs/common/habanalabs.h