]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: expose a single cs seq in staged submissions
authorOfir Bitton <obitton@habana.ai>
Sun, 12 Sep 2021 12:49:00 +0000 (15:49 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 14 Sep 2021 12:00:04 +0000 (15:00 +0300)
commite365bfd2d6959ec952bfe1f207631300dc0c4f25
treec4db36920e0a129373d2f45bec19aec1c61d6eea
parent63a3cdc22cbeb0d2a2a8a9eb335791434e7a70af
habanalabs: expose a single cs seq in staged submissions

Staged submission consists of multiple command submissions.
In order to be explicit, driver should return a single cs sequence
for every cs in the submission, or else user may try to wait on
an internal CS rather than waiting for the whole submission.

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