]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: staged submission support
authorOfir Bitton <obitton@habana.ai>
Tue, 8 Dec 2020 11:47:05 +0000 (13:47 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 27 Jan 2021 19:03:51 +0000 (21:03 +0200)
commit04988981b2fbac65ce53ff54bcab68a380ec038f
tree63eaf87cf439d3b9c32ab0bfb24b052743bf2158
parent1835e6ea135687a39bff8e545da4aefd60499b4d
habanalabs: staged submission support

We introduce a new mechanism named Staged Submission.
This mechanism allows the user to send a whole CS in pieces.
Each CS will not require completion rather than the
last CS. Timeout timer will be triggered upon reception of the first
CS in group.

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/habanalabs.h
drivers/misc/habanalabs/common/hw_queue.c
drivers/misc/habanalabs/gaudi/gaudi.c