]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: add gaudi asic-dependent code
authorOded Gabbay <oded.gabbay@gmail.com>
Mon, 11 May 2020 07:29:27 +0000 (10:29 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 19 May 2020 11:48:41 +0000 (14:48 +0300)
commit4050cb725579316277fda9dc20cc69552a95b15b
treed5285f4d57b1e88aaea03219aa0843fcd9244597
parent5ced34f5f968bfa4e195e8be40120dae4703ef2d
habanalabs: add gaudi asic-dependent code

Add the ASIC-dependent code for GAUDI. Supply (almost) all of the function
callbacks that the driver's common code need to initialize, finalize and
submit workloads to the GAUDI ASIC.

It also contains the code to initialize the F/W of the GAUDI ASIC and to
receive events from the F/W.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/Makefile
drivers/misc/habanalabs/gaudi/Makefile [new file with mode: 0644]
drivers/misc/habanalabs/gaudi/gaudi.c [new file with mode: 0644]
drivers/misc/habanalabs/gaudi/gaudiP.h [new file with mode: 0644]
drivers/misc/habanalabs/habanalabs.h
drivers/misc/habanalabs/habanalabs_drv.c
drivers/misc/habanalabs/include/gaudi/gaudi_async_ids_map.h [new file with mode: 0644]