linux/drivers/misc/habanalabs/include
Tal Cohen 194e515c79 habanalabs/gaudi2: new API to control engine cores running mode
The current flow of halting the engine cores is implemented by command
buffers built by the user space and sent towards the Driver.

This current flow is broken since the user space does not know when
the cores actually halt as sending a workload is async op.

Therefore the application can not free the memory that is mapped
to the engine cores.

This new API allows the user space to control the running mode. The
API call is sync (returns after the cores are set to the
requested mode).

Signed-off-by: Tal Cohen <talcohen@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
2022-09-18 13:29:51 +03:00
..
common habanalabs: remove left-over code from bring-up 2022-09-18 13:29:51 +03:00
gaudi habanalabs/gaudi: enable error interrupt on ARB WDT 2022-07-12 09:09:26 +03:00
gaudi2 habanalabs/gaudi2: new API to control engine cores running mode 2022-09-18 13:29:51 +03:00
goya habanalabs/goya: move dma direction enum to uapi file 2022-07-12 09:09:25 +03:00
hw_ip habanalabs/gaudi2: add asic registers header files 2022-07-12 09:09:27 +03:00