OSDN Git Service

habanalabs: add CS completion and timeout properties
authorOfir Bitton <obitton@habana.ai>
Sun, 6 Dec 2020 15:18:02 +0000 (17:18 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 27 Jan 2021 19:03:51 +0000 (21:03 +0200)
commit0811b391469510447a2263f706389b610e454177
tree3e1155bfc95af85a1e329c023abc8eea34f7fb82
parentd00697fbe13ccc1dfb7adb82204e1469a7783b07
habanalabs: add CS completion and timeout properties

In order to support staged submission feature, we need to
distinguish on which command submission we want to receive
timeout and for which we want to receive completion.

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