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)
commitc8fee41957f036cbc8e840bd91e2087731df7f7e
treec4db36920e0a129373d2f45bec19aec1c61d6eea
parent42254c2a4991b98ca3f86040a1a7b7b32a0c8c4a
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