0
0
mirror of https://mirrors.bfsu.edu.cn/git/linux.git synced 2024-12-21 10:05:00 +08:00
linux/drivers/misc/habanalabs/include/gaudi2
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
..
arc
asic_reg habanalabs/gaudi2: new API to control engine cores running mode 2022-09-18 13:29:51 +03:00
gaudi2_async_events.h
gaudi2_async_ids_map_extended.h
gaudi2_coresight.h
gaudi2_fw_if.h
gaudi2_packets.h
gaudi2_reg_map.h
gaudi2.h habanalabs/gaudi2: map virtual MSI-X doorbell memory for user 2022-07-12 09:09:31 +03:00