]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: add support for encapsulated signals reservation
authorfarah kassabri <fkassabri@habana.ai>
Mon, 24 May 2021 15:09:22 +0000 (18:09 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Sun, 29 Aug 2021 06:47:48 +0000 (09:47 +0300)
commit69ec0e2c38ea4f1139d11b2ee75234d6f6ff205b
treedb36465dc7c3138f6fba3d026232306fa6093bf0
parent3bc71c946df4c369336320c1aebf0a8e1c166829
habanalabs: add support for encapsulated signals reservation

The signaling from within encapsulated OP capability is merged into the
existing stream architecture, such that one can trigger multiple
signaling from an encapsulated op, according to the time the event
was done in the graph execution and avoid the need to wait for the
whole encapsulated OP execution to be complete before the stream can
signal.

This commit implements only the reserve/unreserve part.

Signed-off-by: farah kassabri <fkassabri@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/context.c
drivers/misc/habanalabs/common/habanalabs.h
drivers/misc/habanalabs/common/habanalabs_drv.c
drivers/misc/habanalabs/common/hw_queue.c
drivers/misc/habanalabs/gaudi/gaudi.c
drivers/misc/habanalabs/goya/goya.c
include/uapi/misc/habanalabs.h